mirror of
https://github.com/meshtastic/firmware
synced 2026-08-07 20:32:18 -04: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:
parent
32c3b62ef3
commit
45f0f1ea06
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue