ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
core.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef USE_LIBRETINY
4
5#include <Arduino.h>
6
7namespace esphome::libretiny {
8
9#ifdef USE_LN882X
17void ensure_serial_handle(uint8_t port);
18#else
19inline void ensure_serial_handle(uint8_t /*port*/) {}
20#endif
21
22} // namespace esphome::libretiny
23
24#endif // USE_LIBRETINY
void ensure_serial_handle(uint8_t port)
Give a hardware UART its SDK handle before its Serial begin()s.
Definition core.cpp:16