reset.cpp: skip libpax_counter_stop() before sleep
This commit is contained in:
parent
e299444a89
commit
0b85559358
@ -112,9 +112,10 @@ void enter_deepsleep(const uint64_t wakeup_sec, gpio_num_t wakeup_gpio) {
|
||||
wakeup_gpio = GPIO_NUM_MAX;
|
||||
|
||||
// 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)
|
||||
sds011_sleep();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user