Merge IoTThinks PowerSaving v16 updates
# Conflicts: # examples/companion_radio/MyMesh.cpp # examples/simple_repeater/MyMesh.cpp # examples/simple_repeater/UITask.cpp # examples/simple_repeater/UITask.h # examples/simple_room_server/MyMesh.cpp # examples/simple_room_server/MyMesh.h # examples/simple_sensor/SensorMesh.cpp # examples/simple_sensor/SensorMesh.h # src/Dispatcher.cpp # src/Dispatcher.h # src/helpers/CommonCLI.cpp # src/helpers/CommonCLI.h # src/helpers/radiolib/CustomLR1110.h # src/helpers/radiolib/CustomLR1110Wrapper.h # src/helpers/radiolib/CustomSX1262.h # src/helpers/radiolib/CustomSX1262Wrapper.h # src/helpers/radiolib/RadioLibWrappers.cpp # src/helpers/radiolib/RadioLibWrappers.h # variants/rak4631/platformio.ini # variants/thinknode_m3/variant.cpp # variants/thinknode_m3/variant.h # variants/thinknode_m6/variant.cpp # variants/thinknode_m6/variant.h
This commit is contained in:
commit
9bec10b41a
34 files changed
+217
-44
No files matched your search
@@ -90,6 +90,10 @@ void initVariant()
|
||||
|
||||
pinMode(PIN_GPS_POWER, OUTPUT);
|
||||
pinMode(PIN_GPS_EN, OUTPUT);
|
||||
// PIN_GPS_RESET (pin 25 / REINIT) is intentionally left floating (input).
|
||||
// Driving it HIGH holds the L76K silent, so it never streams NMEA and the
|
||||
// firmware reports "no GPS". Letting it float lets the module run.
|
||||
// See GPS_RESET (-1) in variant.h.
|
||||
|
||||
// Power on gps but in standby
|
||||
digitalWrite(PIN_GPS_EN, !GPS_EN_ACTIVE);
|
||||
|
||||
Reference in new issue
Block a user