new release

This commit is contained in:
2026-05-15 12:20:47 +01:00
parent 286028b6a8
commit d0d431daf2
440 changed files with 2776 additions and 2462 deletions

View File

@@ -1,17 +1,19 @@
// scheduler_events.h
// components/scheduler/include/scheduler_events.h
#pragma once
#include "esp_event.h"
#include <stdbool.h>
#include <stdint.h>
ESP_EVENT_DECLARE_BASE(SCHED_EVENTS);
typedef enum
{
SCHED_EVENT_INIT = 0, // envia estado inicial
SCHED_EVENT_WINDOW_CHANGED, // allowed_now mudou
SCHED_EVENT_INIT = 0,
SCHED_EVENT_WINDOW_CHANGED,
} sched_event_id_t;
typedef struct
{
bool allowed_now;
} sched_event_state_t;
uint16_t current_limit_a; // 0 se fora de janela / sem override
} sched_event_state_t;