From 4930556095ca79a59079ec71d25b2ada2b78cd8a Mon Sep 17 00:00:00 2001 From: Kevin Le Date: Wed, 16 Sep 2026 09:24:01 +0700 Subject: [PATCH] Prevented setting WB_IO2 to INPUT for RAK_3401 --- src/helpers/sensors/EnvironmentSensorManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/helpers/sensors/EnvironmentSensorManager.cpp b/src/helpers/sensors/EnvironmentSensorManager.cpp index d490b2a9..48f56d2d 100644 --- a/src/helpers/sensors/EnvironmentSensorManager.cpp +++ b/src/helpers/sensors/EnvironmentSensorManager.cpp @@ -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; }