libpax integration 1 (work in progress)
This commit is contained in:
parent
5836e713b5
commit
049048dd6e
@ -29,9 +29,11 @@ void doHousekeeping() {
|
|||||||
ESP_LOGD(TAG, "IRQhandler %d bytes left | Taskstate = %d",
|
ESP_LOGD(TAG, "IRQhandler %d bytes left | Taskstate = %d",
|
||||||
uxTaskGetStackHighWaterMark(irqHandlerTask),
|
uxTaskGetStackHighWaterMark(irqHandlerTask),
|
||||||
eTaskGetState(irqHandlerTask));
|
eTaskGetState(irqHandlerTask));
|
||||||
|
#if !(LIBPAX)
|
||||||
ESP_LOGD(TAG, "MACprocessor %d bytes left | Taskstate = %d",
|
ESP_LOGD(TAG, "MACprocessor %d bytes left | Taskstate = %d",
|
||||||
uxTaskGetStackHighWaterMark(macProcessTask),
|
uxTaskGetStackHighWaterMark(macProcessTask),
|
||||||
eTaskGetState(macProcessTask));
|
eTaskGetState(macProcessTask));
|
||||||
|
#endif
|
||||||
ESP_LOGD(TAG, "Rcommand interpreter %d bytes left | Taskstate = %d",
|
ESP_LOGD(TAG, "Rcommand interpreter %d bytes left | Taskstate = %d",
|
||||||
uxTaskGetStackHighWaterMark(rcmdTask), eTaskGetState(rcmdTask));
|
uxTaskGetStackHighWaterMark(rcmdTask), eTaskGetState(rcmdTask));
|
||||||
#if (HAS_LORA)
|
#if (HAS_LORA)
|
||||||
|
@ -120,8 +120,10 @@ void enter_deepsleep(const uint64_t wakeup_sec, gpio_num_t wakeup_gpio) {
|
|||||||
sds011_sleep(void);
|
sds011_sleep(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !(LIBPAX)
|
||||||
// stop MAC processing
|
// stop MAC processing
|
||||||
vTaskDelete(macProcessTask);
|
vTaskDelete(macProcessTask);
|
||||||
|
#endif
|
||||||
|
|
||||||
// halt interrupts accessing i2c bus
|
// halt interrupts accessing i2c bus
|
||||||
mask_user_IRQ();
|
mask_user_IRQ();
|
||||||
|
@ -104,4 +104,4 @@ void switch_wifi_sniffer(uint8_t state) {
|
|||||||
esp_wifi_stop();
|
esp_wifi_stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif // !(LIBPAX)
|
Loading…
Reference in New Issue
Block a user