mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-23 06:22:48 +00:00
Prevented setting WB_IO2 to INPUT for RAK_3401
This commit is contained in:
1 parent
9a1be4bc70
commit
4930556095
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user