ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
ring_buffer.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef USE_ESP32
4
5// Deprecated: include "esphome/components/ring_buffer/ring_buffer.h" and use
6// esphome::ring_buffer::RingBuffer. This shim will be removed in 2026.11.0.
7#if __has_include("esphome/components/ring_buffer/ring_buffer.h")
9#else
10#error \
11 "esphome/components/ring_buffer/ring_buffer.h not found. Add 'ring_buffer' to your component's AUTO_LOAD list to use esphome::ring_buffer::RingBuffer."
12#endif
13#include "esphome/core/helpers.h" // for ESPDEPRECATED
14
15namespace esphome {
16
17using RingBuffer ESPDEPRECATED("Use esphome::ring_buffer::RingBuffer instead. Removed in 2026.11.0.",
18 "2026.5.0") = ring_buffer::RingBuffer;
19
20} // namespace esphome
21
22#endif
struct ESPDEPRECATED("Use std::index_sequence instead. Removed in 2026.6.0", "2025.12.0") seq
Definition automation.h:26