fix for set_custom_var

This commit is contained in:
Florent de Lamotte committed 2025-05-05 16:40:00 +02:00
1 parent c8c57e0527
commit d7fb7aa630
3 files changed
+5 -4

No files matched your search

+3 -3
View File
@@ -40,9 +40,9 @@ build_flags = ${t1000-e.build_flags}
-D MAX_CONTACTS=100
-D MAX_GROUP_CHANNELS=8
-D BLE_PIN_CODE=123456
-D BLE_DEBUG_LOGGING=1
-D MESH_PACKET_LOGGING=1
-D MESH_DEBUG=1
; -D BLE_DEBUG_LOGGING=1
; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
-D RX_BOOSTED_GAIN=true
-D RF_SWITCH_TABLE
-D HAS_UI
+1 -1
View File
@@ -187,7 +187,7 @@ const char* T1000SensorManager::getSettingValue(int i) const {
bool T1000SensorManager::setSettingValue(const char* name, const char* value) {
if (strcmp(name, "gps") == 0) {
if (strcmp(value, "0") == 0) {
stop_gps(); // or should this be sleep_gps() ??
sleep_gps(); // sleep for faster fix !
} else {
start_gps();
}