v1.19 Release

Dependencies:   nRF51822

Revision:
49:d2bd9056426e
Parent:
48:bb7d5118e03c
Child:
50:8dca54c1e3fd
--- a/Source/main.cpp	Wed Sep 02 19:11:28 2020 +0000
+++ b/Source/main.cpp	Thu Sep 03 17:17:59 2020 +0000
@@ -108,7 +108,7 @@
     // switch cap state using hysteresis
     if(last_cap_off)
     { // cap was off
-        if(on_reading > off_reading + CAP_THRESHOLD_ON)
+        if(on_reading > off_reading + cap_threshold_on)
         { // cap is now on
             is_cap_off = 0;
             #if ENABLE_LED