Skip to content

Fix PA on RAK3401 when GPS missing - #3275

Merged
liamcottle merged 1 commit into
meshcore-dev:devfrom
liamcottle:gps/rak3401
Aug 24, 2026
Merged

Fix PA on RAK3401 when GPS missing#3275
liamcottle merged 1 commit into
meshcore-dev:devfrom
liamcottle:gps/rak3401

Conversation

@liamcottle

@liamcottle liamcottle commented Aug 23, 2026

Copy link
Copy Markdown
Member

This PR fixes a bug I introduced in #3268 where the PA on RAK3401 would not be powered if a GPS module was not present.

The existing logic to probe for GPS modules at boot turns on a few IO pins, and then turns them off.
This included the 3V3 rail on WB_IO2. We must not turn off WB_IO2 on RAK3401.

I've tested PA output power with GPS present and GPS missing.

Turning GPS on and off will no longer toggle these IO pins.

Ideally we wouldn't add board specific defines like this into the EnvironmentSensorManager, but we already have RAK_WISBLOCK_GPS anyway...

@liamcottle
liamcottle merged commit 12998cb into meshcore-dev:dev Aug 24, 2026
15 checks passed
@liamcottle
liamcottle deleted the gps/rak3401 branch August 24, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant