make sure wifi and bt is off if not needed

This commit is contained in:
Peter Buchegger 2020-11-01 01:28:25 +01:00
parent 9aaae606ad
commit 7a57172803

View file

@ -78,6 +78,12 @@ void setup()
setup_ota();
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();
setup_timer();