mirror of
https://github.com/esphome/esphome.git
synced 2025-01-07 13:21:44 +01:00
12 lines
358 B
C++
12 lines
358 B
C++
#include "event_emitter.h"
|
|
|
|
namespace esphome {
|
|
|
|
static const char *const TAG = "event_emitter";
|
|
|
|
void RaiseEventEmitterFullError(EventEmitterListenerID id) {
|
|
ESP_LOGE(TAG, "EventEmitter has reached the maximum number of listeners for event");
|
|
ESP_LOGW(TAG, "Removing listener with ID %ld to make space for new listener", id);
|
|
}
|
|
|
|
} // namespace esphome
|