mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-26 06:43:10 +00:00
Don't reboot when setting lora config with portduino sim radio (#7716)
This commit is contained in:
parent
1daf5aad1f
commit
8b42bf7a95
@ -718,6 +718,13 @@ void AdminModule::handleSetConfig(const meshtastic_Config &c)
|
||||
requiresReboot = false;
|
||||
}
|
||||
|
||||
#if defined(ARCH_PORTDUINO)
|
||||
// If running on portduino and using SimRadio, do not require reboot
|
||||
if (SimRadio::instance) {
|
||||
requiresReboot = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef RF95_FAN_EN
|
||||
// Turn PA off if disabled by config
|
||||
if (c.payload_variant.lora.pa_fan_disabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user