diff --git a/src/reset.cpp b/src/reset.cpp index 3a07d227..472ed02c 100644 --- a/src/reset.cpp +++ b/src/reset.cpp @@ -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