2024-08-01 16:34:38 -04:00
|
|
|
#ifndef __IDF_EVENT_H__
|
|
|
|
#define __IDF_EVENT_H__
|
2024-08-02 01:54:42 -04:00
|
|
|
#ifdef ESP_PLATFORM
|
2024-08-01 16:34:38 -04:00
|
|
|
|
2024-08-02 01:54:42 -04:00
|
|
|
#include "esp_event.h"
|
2024-08-01 16:34:38 -04:00
|
|
|
#include "configulator.h"
|
|
|
|
|
2024-08-02 01:54:42 -04:00
|
|
|
ESP_EVENT_DECLARE_BASE(CFGLR_EVENT_BASE);
|
|
|
|
|
2024-12-02 02:13:51 -05:00
|
|
|
void cfglr_signaler_idf_init(cfglr_signaler_t *signaler, cfglr_handle_t *handle);
|
|
|
|
void cfglr_signaler_idf_dispatch(cfglr_signaler_t *signaler, cfglr_element_t *element, cfglr_signal_e sig);
|
2024-08-01 16:34:38 -04:00
|
|
|
|
|
|
|
#define CFGLR_SIGNALER_IDF_EVENT() {\
|
|
|
|
.dispatch = &cfglr_signaler_idf_dispatch,\
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
2024-08-02 01:54:42 -04:00
|
|
|
#endif
|