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