init
Dependencies: aconno_I2C Lis2dh12 WatchdogTimer
Diff: main.cpp
- Revision:
- 46:b95fe3484d88
- Parent:
- 45:6c7f5b556d74
- Child:
- 47:cc6d4d0bf897
--- a/main.cpp Sun Jan 20 21:40:53 2019 +0000 +++ b/main.cpp Sun Jan 20 22:05:07 2019 +0000 @@ -498,7 +498,7 @@ if(TEMP_o != -1) { RET_setting_impact_g = TEMP_o; } if(TEMP_p != -1) { RET_setting_impact_alert = TEMP_p; } if(TEMP_q != -1) { RET_setting_connection_timeout = TEMP_q; } - if(RET_setting_connection_timeout < 60 || RET_setting_connection_timeout > 240) { RET_setting_connection_timeout = DEFAULT_CONNECTION_TIMEOUT; } + if(RET_setting_connection_timeout < 30 || RET_setting_connection_timeout > 240) { RET_setting_connection_timeout = DEFAULT_CONNECTION_TIMEOUT; } if(TEMP_r != -1) { RET_setting_beacon_interval_seconds = TEMP_r; } if(TEMP_s != -1) { RET_setting_beacon_scan = TEMP_s; } if(TEMP_t != -1) { RET_setting_activity_mode = TEMP_t; }