This commit is contained in:
J. Nick Koston 2023-06-07 20:16:20 -05:00
parent 63c560fbd8
commit e41b574b9d
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ namespace ratgdo {
} else if (cmd == 0x84) { } else if (cmd == 0x84) {
} else if (cmd == 0x280) { } else if (cmd == 0x280) {
ESP_LOGD(TAG, "Pressed: %s", "pressed" if byte1 == 1 else "released"); ESP_LOGD(TAG, "Pressed: %s", byte1 == 1 ? "pressed" : "released");
} else if (cmd == 0x48c) { } else if (cmd == 0x48c) {
ESP_LOGD(TAG, "Openings: %d", (byte1 << 8) | byte2); ESP_LOGD(TAG, "Openings: %d", (byte1 << 8) | byte2);
} else if (cmd == 0x285) { } else if (cmd == 0x285) {