thinknode_m5: gps support

This commit is contained in:
Florent 2025-11-28 11:11:13 +01:00
parent ee4e87c3ee
commit 1c0017b634
8 changed files with 53 additions and 15 deletions

View file

@ -548,7 +548,11 @@ void EnvironmentSensorManager::initBasicGPS() {
delay(1000);
// We'll consider GPS detected if we see any data on Serial1
#ifdef ENV_SKIP_GPS_DETECT
gps_detected = true;
#else
gps_detected = (Serial1.available() > 0);
#endif
if (gps_detected) {
MESH_DEBUG_PRINTLN("GPS detected");