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
rodzic
57a8574158
commit
7a914e5f7c
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue