add deinit functions to enter_deepsleep
This commit is contained in:
parent
1ae49f8263
commit
1950650bfb
@ -134,12 +134,12 @@ void enter_deepsleep(const uint64_t wakeup_sec = 60,
|
||||
|
||||
// shutdown MQTT safely
|
||||
#ifdef HAS_MQTT
|
||||
// to come
|
||||
mqtt_deinit();
|
||||
#endif
|
||||
|
||||
// shutdown SPI safely
|
||||
#ifdef HAS_SPI
|
||||
// to come
|
||||
spi_deinit();
|
||||
#endif
|
||||
|
||||
// wait until rcommands are all done
|
||||
|
Loading…
Reference in New Issue
Block a user