mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-04 03:18:10 +10:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user