Skip to content

Commit

Permalink
fix(x12s): only preset AUX2 to GPS if enabled
Browse files Browse the repository at this point in the history
Fixes #5826
  • Loading branch information
pfeerick committed Feb 7, 2025
1 parent 4d3c0c3 commit d9d126f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/storage/storage_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void postRadioSettingsLoad()
setDefaultOwnerId();
}
#endif
#if defined(PCBX12S)
#if defined(PCBX12S) && defined(INTERNAL_GPS)
// AUX2 is hardwired to AUX2 on X12S
serialSetMode(SP_AUX2, UART_MODE_GPS);
#endif
Expand Down

0 comments on commit d9d126f

Please sign in to comment.