mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 09:54:19 -07:00
[core] Use constexpr for PROGMEM arrays (#14127)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -325,7 +325,7 @@ class TestStatements:
|
||||
),
|
||||
(
|
||||
cg.ProgmemAssignmentExpression(ct.uint16, "foo", "bar"),
|
||||
'static const uint16_t foo[] PROGMEM = "bar"',
|
||||
'static constexpr uint16_t foo[] PROGMEM = "bar"',
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user