v1.19 Release
Dependencies: nRF51822
Diff: Source/main.cpp
- Revision:
- 61:3ab0f16d2bfc
- Parent:
- 60:6327aa30a10e
- Child:
- 62:9ef9817c7cad
--- a/Source/main.cpp Wed Feb 24 16:03:57 2021 +0000 +++ b/Source/main.cpp Wed Feb 24 20:46:00 2021 +0000 @@ -235,17 +235,6 @@ start_periodic_tick(FAST_TICK_SEC); #if SKIP_SHIP_MODE // package_open_sense_enable = 1; - - // (cap is on) before going to in-use, adapt the cap_on threshold (iff the cap is on) - { - adaptive_active = true; - int i = 20; // multiple calls aallow it to adapt slowly to eliminate potencial noise. - while(i--) - { - test_cap(); - } - adaptive_active = false; - } state = IN_USE_SETUP; #else