This commit is contained in:
Theo Arends 2021-02-02 10:15:14 +01:00
parent a9cbfbe6f7
commit 7e04a9f9d9
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ void sendIRJsonState(const struct decode_results &results) {
ResponseAppend_P(PSTR("\"0x%0_X\",\"" D_JSON_IR_DATALSB "\":\"0x%0_X\""),
&results.value, &reverse);
} else { // UNKNOWN
ResponseAppend_P(PSTR("\"0x&08X\""), (uint32_t) results.value); // Unknown is always 32 bits
ResponseAppend_P(PSTR("\"0x%08X\""), (uint32_t) results.value); // Unknown is always 32 bits
}
}
}