Skip to content

Commit 67e2012

Browse files
authored
fix: declare loop variable sa as const pointer in t5s3_epaper variant (#11111)
* Initial plan * fix: declare sa as const pointer in t5s3_epaper variant.cpp --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent e061335 commit 67e2012

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/platform/extra_variants/t5s3_epaper/variant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class TouchInkHUDBridge : public Observer<const InputEvent *>
3636

3737
// Check whether a system applet (e.g. menu) is currently handling input
3838
bool systemHandlingInput = false;
39-
for (NicheGraphics::InkHUD::SystemApplet *sa : inkhud->systemApplets) {
39+
for (const NicheGraphics::InkHUD::SystemApplet *sa : inkhud->systemApplets) {
4040
if (sa->handleInput) {
4141
systemHandlingInput = true;
4242
break;

0 commit comments

Comments
 (0)