add deinit functions to enter_deepsleep

This commit is contained in:
cyberman54 2020-12-23 16:31:06 +01:00
parent 1ae49f8263
commit 1950650bfb

View File

@ -134,12 +134,12 @@ void enter_deepsleep(const uint64_t wakeup_sec = 60,
// shutdown MQTT safely // shutdown MQTT safely
#ifdef HAS_MQTT #ifdef HAS_MQTT
// to come mqtt_deinit();
#endif #endif
// shutdown SPI safely // shutdown SPI safely
#ifdef HAS_SPI #ifdef HAS_SPI
// to come spi_deinit();
#endif #endif
// wait until rcommands are all done // wait until rcommands are all done