Momo Medical / Nucleo-transfer

Dependencies:   ADS1015 MPU6050 PixelArray-Nucleo mbed

Fork of Nucleo-transfer by I L

Files at this revision

API Documentation at this revision

Comitter:
ricardo_95
Date:
Mon Oct 02 16:10:14 2017 +0000
Parent:
22:a09775c25890
Child:
24:782c4dc4a3ff
Commit message:
Lock state added to calibration.

Changed in this revision

Sensorplate/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Sensorplate/main.cpp	Mon Oct 02 16:05:46 2017 +0000
+++ b/Sensorplate/main.cpp	Mon Oct 02 16:10:14 2017 +0000
@@ -362,7 +362,7 @@
         }
     }
 
-    if ((calibration_hold_timer.read_ms() > calibrationtime_ms) && calibration_flag == 0 && new_patient == 0) { // If statement for calibration system.
+    if ((calibration_hold_timer.read_ms() > calibrationtime_ms) && calibration_flag == 0 && new_patient == 0 && lock_state == 0) { // If statement for calibration system.
         calibration_flag = 1;
         calibration_flash = 11;
         pc.printf("Calibrate triggered.\n");