mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
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…
x
Reference in New Issue
Block a user