|
ESPHome 2026.5.0-dev
|
Go to the source code of this file.
Functions | |
| __attribute__ ((always_inline)) static inline void esphome_main_task_notify() | |
| Wake the main loop task from another FreeRTOS task. | |
Variables | |
| TaskHandle_t | esphome_main_task_handle |
| Main loop task handle and wake helpers — shared between wake.h (C++) and lwip_fast_select.c (C). | |
| __attribute__ | ( | (always_inline) | ) |
Wake the main loop task from another FreeRTOS task.
Wake the main loop task from an ISR. ISR-safe.
NOT ISR-safe. always_inline so callers placed in IRAM do not reference a flash-resident copy.
Definition at line 24 of file main_task.h.
|
extern |
Main loop task handle and wake helpers — shared between wake.h (C++) and lwip_fast_select.c (C).
esphome_main_task_handle is set once during Application::setup() via xTaskGetCurrentTaskHandle().
Definition at line 4 of file main_task.c.