[core] Use constexpr for PROGMEM arrays (#14127)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
J. Nick Koston
2026-02-19 18:54:33 -06:00
committed by GitHub
parent 1b4de55efd
commit d29288547e
2 changed files with 2 additions and 2 deletions

View File

@@ -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"',
),
),
)