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:
- 60:17e0a8e2be4a
- Parent:
- 59:614f713fb48b
- Child:
- 61:6b5c2ddcea0c
--- a/SensorAlarmController.cpp Sun Jun 19 22:56:49 2016 +0000 +++ b/SensorAlarmController.cpp Sun Jun 19 23:00:18 2016 +0000 @@ -8,11 +8,6 @@ static DigitalOut led3(LED3); static DigitalOut led4(LED4); - -float readtemp; -float readsalt; -float readoverflow; - void SensorAlarmController::update() { #ifndef TEST_MODE @@ -51,7 +46,6 @@ if (readtimer > 0 ) { //already running if ((readtimer >= NUMBER_OF_SEC_BEFORE_CRITICAL_ALARM && is_crit) || (readtimer >= NUMBER_OF_SEC_BEFORE_UNDESIRED_ALARM && !is_crit)) { - //DO STUFF!! this->error = true; if (this->tempiscrit) {