Program for the water play project for the course Software Testing Practical 2016 given at the VU University
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
Diff: SensorAlarmController.cpp
- Revision:
- 61:6b5c2ddcea0c
- Parent:
- 60:17e0a8e2be4a
- Child:
- 64:735009c4c8aa
--- a/SensorAlarmController.cpp Sun Jun 19 23:00:18 2016 +0000 +++ b/SensorAlarmController.cpp Sun Jun 19 23:07:21 2016 +0000 @@ -48,7 +48,7 @@ (readtimer >= NUMBER_OF_SEC_BEFORE_UNDESIRED_ALARM && !is_crit)) { this->error = true; - if (this->tempiscrit) { + if (this->is_crit) { this->error_msg = "Crit temp!"; } else { this->error_msg = "Undes temp!";