Merck / Mbed OS SmartCap_OS5

Dependencies:   nRF51822

Revision:
45:bd6a86de08f9
Parent:
44:48ce47b35564
Child:
46:b85be1ccf179
diff -r 48ce47b35564 -r bd6a86de08f9 Source/main.h
--- a/Source/main.h	Mon Jul 06 16:24:06 2020 +0000
+++ b/Source/main.h	Mon Jul 27 21:26:07 2020 +0000
@@ -2,7 +2,7 @@
 #ifndef MAIN_H
 #define MAIN_H
 
-#define FW_VERSION  "V1.15" //  major revisions will be 1xx, 2xx, etc.
+#define FW_VERSION  "V1.16" //  major revisions will be 1xx, 2xx, etc.
 
 #define SKIP_SHIP_MODE      0  // 0=normal, 1=Test mode, where SHIP_MODE is skipped
 #define UART_DEBUGGING      0  // if =1, put out debug info on the BLE_UART
@@ -17,7 +17,7 @@
 #define EOL_TICK_SEC      10   // update rtc and run check cap rate while in EOL mode
 
 #define CAP_THRESHOLD       25 // ajusts the sensitivity of the cap sensor.  Lower value means it triggers more easily
-#define CAP_MAX_OFF_READING 250 // if the off reading exceeds this limit, then reading is invalid and we use last valid reading
+#define CAP_MAX_OFF_READING 1024 // if the off reading exceeds this limit, then reading is invalid and we use last valid reading
 
 #define EOL_TIMEOUT_DAYS    31  // number of days after package is open before unit goes into EOL mode.
 #define EOL_MAX_USES        120  // number of uses after which the unit goes into EOL mode.