mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
make sure wifi and bt is off if not needed
This commit is contained in:
parent
9aaae606ad
commit
7a57172803
|
|
@ -78,6 +78,12 @@ void setup()
|
||||||
setup_ota();
|
setup_ota();
|
||||||
setup_ntp();
|
setup_ntp();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// make sure wifi and bt is off if we don't need it:
|
||||||
|
WiFi.mode(WIFI_OFF);
|
||||||
|
btStop();
|
||||||
|
}
|
||||||
if(Config.aprs_is.active) setup_aprs_is();
|
if(Config.aprs_is.active) setup_aprs_is();
|
||||||
setup_timer();
|
setup_timer();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue