Fix: did not compile without wifi,

due to one missing check in the quite new function
do_send_status_message_about_shutdown_to_aprsis

Signed-off-by: Thomas Osterried <dl9sau@darc.de>
pull/7/head
Thomas Osterried 2022-10-05 21:24:14 +02:00
rodzic 57a8574158
commit 7a914e5f7c
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -3422,7 +3422,9 @@ void loop()
if(shutdown_countdown_timer_enable){
if(millis() >= shutdown_countdown_timer){
axp.setChgLEDMode(AXP20X_LED_OFF);
#ifdef ENABLE_WIFI
do_send_status_message_about_shutdown_to_aprsis();
#endif
axp.shutdown();
}
}