ESPHome 2026.4.0
Loading...
Searching...
No Matches
main_task.c File Reference

Go to the source code of this file.

Variables

TaskHandle_t esphome_main_task_handle = NULL
 Main loop task handle and wake helpers — shared between wake.h (C++) and lwip_fast_select.c (C).
 

Variable Documentation

◆ esphome_main_task_handle

TaskHandle_t esphome_main_task_handle = NULL

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.