mirror of
https://github.com/esphome/esphome.git
synced 2026-09-11 23:37:34 +00:00
[api] Fix comment to include LN882x in fallback list
This commit is contained in:
@@ -237,7 +237,7 @@ class Proto32Bit {
|
||||
// NOTE: Proto64Bit class removed - wire type 1 (64-bit fixed) not supported
|
||||
|
||||
/// Helper to use make_unique_for_overwrite where available (skips zero-fill),
|
||||
/// falling back to make_unique on older GCC (ESP8266, BK72xx).
|
||||
/// falling back to make_unique on older GCC (ESP8266, BK72xx, LN882x).
|
||||
inline std::unique_ptr<uint8_t[]> make_buffer(size_t n) {
|
||||
#if defined(USE_ESP8266) || defined(USE_BK72XX) || defined(USE_LN882X)
|
||||
return std::make_unique<uint8_t[]>(n);
|
||||
|
||||
Reference in New Issue
Block a user