Only gate PKC behind the simradio CLI flag (#7681)

* Only gate PKC behind the simradio CLI flag

* Hide router.cpp simradio check behind #if ARCH_PORTDUINO
This commit is contained in:
Jonathan Bennett
2025-08-19 14:15:05 -05:00
committed by GitHub
parent 1c1462e776
commit 5de61b1a3d
3 changed files with 7 additions and 5 deletions

View File

@@ -134,4 +134,5 @@ extern struct portduino_config_struct {
bool has_rfswitch_table = false;
uint32_t rfswitch_dio_pins[5] = {RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC, RADIOLIB_NC};
Module::RfSwitchMode_t rfswitch_table[8];
bool force_simradio = false;
} portduino_config;