fix: -DDEBUG=YES/RTT compilation (#7182)
This commit is contained in:
+1
-1
@@ -1442,7 +1442,7 @@ int cliDisplay(const char ** argv)
|
|||||||
|
|
||||||
if (!strcmp(argv[1], "keys")) {
|
if (!strcmp(argv[1], "keys")) {
|
||||||
for (int i = 0; i <= MAX_KEYS; i++) {
|
for (int i = 0; i <= MAX_KEYS; i++) {
|
||||||
if (keyIsSupported(i)) {
|
if (keyIsSupported((EnumKeys)i)) {
|
||||||
cliSerialPrint("[Key %s] = %s",
|
cliSerialPrint("[Key %s] = %s",
|
||||||
keysGetLabel((EnumKeys)i),
|
keysGetLabel((EnumKeys)i),
|
||||||
keysGetState(i) ? "on" : "off");
|
keysGetState(i) ? "on" : "off");
|
||||||
|
|||||||
Reference in New Issue
Block a user