mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-09-16 19:22:54 +00:00
Prevented setting WB_IO2 to INPUT for RAK_3401
This commit is contained in:
@@ -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