reset.cpp: skip libpax_counter_stop() before sleep
This commit is contained in:
parent
e299444a89
commit
0b85559358
@ -111,10 +111,11 @@ void enter_deepsleep(const uint64_t wakeup_sec, gpio_num_t wakeup_gpio) {
|
||||
if (!GPIO_IS_VALID_GPIO(wakeup_gpio))
|
||||
wakeup_gpio = GPIO_NUM_MAX;
|
||||
|
||||
// stop further enqueuing of senddata and MAC processing
|
||||
libpax_counter_stop();
|
||||
// stop further enqueuing of senddata and MAC processing
|
||||
// -> 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)
|
||||
sds011_sleep();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user