Fix CI: remove redundant (void) in main_task.h, restore lwip_fast_select.h include for socket monitoring

This commit is contained in:
J. Nick Koston
2026-04-04 11:46:21 -10:00
parent 277c4f6343
commit 113edd2076
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -24,6 +24,9 @@
#include "esphome/core/area.h"
#endif
#ifdef USE_LWIP_FAST_SELECT
#include "esphome/core/lwip_fast_select.h"
#endif
#ifdef USE_HOST
#include <sys/select.h>
#include <sys/socket.h>
+2 -2
View File
@@ -20,7 +20,7 @@ extern "C" {
extern TaskHandle_t esphome_main_task_handle;
/// Wake the main loop task from another FreeRTOS task. NOT ISR-safe.
static inline void esphome_main_task_notify(void) {
static inline void esphome_main_task_notify() {
TaskHandle_t task = esphome_main_task_handle;
if (task != NULL) {
xTaskNotifyGive(task);
@@ -37,7 +37,7 @@ static inline void esphome_main_task_notify_from_isr(int *px_higher_priority_tas
#ifdef USE_ESP32
/// Wake the main loop from any context (ISR or task). ESP32-only (needs xPortInIsrContext).
static inline void esphome_main_task_notify_any_context(void) {
static inline void esphome_main_task_notify_any_context() {
if (xPortInIsrContext()) {
int px_higher_priority_task_woken = 0;
esphome_main_task_notify_from_isr(&px_higher_priority_task_woken);