Prevented setting WB_IO2 to INPUT for RAK_3401

This commit is contained in:
Kevin Le
2026-09-16 09:24:01 +07:00
parent 9a1be4bc70
commit 4930556095
@@ -878,7 +878,9 @@ bool EnvironmentSensorManager::gpsIsAwake(uint8_t ioPin) {
return true;
}
#ifndef RAK_3401
pinMode(ioPin, INPUT);
#endif
MESH_DEBUG_PRINTLN("GPS did not init with this IO pin... try the next");
return false;
}