fix: -DDEBUG=YES/RTT compilation (#7182)

This commit is contained in:
3djc
2026-03-16 09:52:45 +10:00
committed by GitHub
parent 02832c8a3d
commit f75c957025
+1 -1
View File
@@ -1442,7 +1442,7 @@ int cliDisplay(const char ** argv)
if (!strcmp(argv[1], "keys")) {
for (int i = 0; i <= MAX_KEYS; i++) {
if (keyIsSupported(i)) {
if (keyIsSupported((EnumKeys)i)) {
cliSerialPrint("[Key %s] = %s",
keysGetLabel((EnumKeys)i),
keysGetState(i) ? "on" : "off");