Merck / Mbed OS SmartCap_OS5

Dependencies:   nRF51822

Revision:
50:8dca54c1e3fd
Parent:
49:d2bd9056426e
Child:
51:53fe9aff625a
Child:
54:bc0199198178
--- a/Source/main.h	Thu Sep 03 17:17:59 2020 +0000
+++ b/Source/main.h	Fri Sep 11 19:27:20 2020 +0000
@@ -2,7 +2,7 @@
 #ifndef MAIN_H
 #define MAIN_H
 
-#define FW_VERSION  "V1.17" //  major revisions will be 1xx, 2xx, etc.
+#define FW_VERSION  "V1.18" //  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
@@ -20,7 +20,7 @@
 #define CAP_THRESHOLD_OFF      12 // Cap off threshold.  Higher value means it triggers more easily
 #define CAP_THRESHOLD_OFF_EOL   25 // Cap off threshold for EOL to ensure bluetooth advertising - FTD 08212020
 
-#define CAP_THRESHOLD_OFF_INITIAL 15 // initial value of adaptive cap_off threshold (Must be higher than CAPTHRESHOLD_OFF)
+#define CAP_THRESHOLD_ON_INITIAL 15 // initial value of adaptive cap_off threshold (Must be higher than CAPTHRESHOLD_OFF)
 #define CAP_THRESHOLD_ADAPT_RATE  192 // How fast the thresholf adapts. number 0 to 256. 256 means adapt immediately, 0 means no adapt.
 #define CAP_THRESHOLD_PERCENT_OF_PEAK  192 // What fraction of the peak on-off cap reading is used for the threshold. %*256, so 85% is .85*256=218