fix(rak4631): enable GPS power rail for WisMesh Repeater Mini (#11360)

PIN_GPS_EN was only set for Pocket, so GPS Off left 3V3_S on forRepeater Mini. Gate it on WISMESH_POCKET || WISMESH_REPEATER_MINIso generic rak4631 bases keep sensors powered.
This commit is contained in:
Ethac.chen 2026-08-06 19:17:34 +08:00 committed by GitHub
parent 32c3b62ef3
commit 45f0f1ea06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -231,8 +231,9 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG
#define PIN_3V3_EN (34)
#define WB_IO2 PIN_3V3_EN
#if defined(WISMESH_POCKET)
// Pocket v3: P1.02 (GPIO 34) = GPS_PWR_EN
// GPS EN only for finished products that accept cutting 3V3_S with GPS off.
// Generic rak4631 / sensor bases keep this undefined so sensors on 3V3_S stay powered.
#if defined(WISMESH_POCKET) || defined(WISMESH_REPEATER_MINI)
#define PIN_GPS_EN PIN_3V3_EN
#endif