reset.cpp: skip libpax_counter_stop() before sleep

This commit is contained in:
cyberman54 2021-04-08 13:58:38 +02:00
parent e299444a89
commit 0b85559358

View File

@ -112,9 +112,10 @@ void enter_deepsleep(const uint64_t wakeup_sec, gpio_num_t wakeup_gpio) {
wakeup_gpio = GPIO_NUM_MAX; wakeup_gpio = GPIO_NUM_MAX;
// stop further enqueuing of senddata and MAC processing // stop further enqueuing of senddata and MAC processing
libpax_counter_stop(); // -> skipped, because shutting down bluedroid stack tends to crash
// libpax_counter_stop();
// switch off radio and other power consuming hardware // switch off any power consuming hardware
#if (HAS_SDS011) #if (HAS_SDS011)
sds011_sleep(); sds011_sleep();
#endif #endif