mirror of https://github.com/arendst/Tasmota.git
Display 6 digits hex for RFCode #6846
This commit is contained in:
parent
d42e81402a
commit
aceef4d469
|
@ -468,7 +468,7 @@ void CmndRfBridge(void) // RfSync, RfLow, RfHigh, RfHost and RfCode
|
|||
if (10 == radix) {
|
||||
snprintf_P(stemp, sizeof(stemp), PSTR("%d"), code);
|
||||
} else {
|
||||
snprintf_P(stemp, sizeof(stemp), PSTR("\"#%X\""), code);
|
||||
snprintf_P(stemp, sizeof(stemp), PSTR("\"#%06X\""), code);
|
||||
}
|
||||
Response_P(S_JSON_COMMAND_XVALUE, XdrvMailbox.command, stemp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue