mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-05 00:47:43 +00:00
Ignore non-binary char in bit stream
This commit is contained in:
parent
b3e8d3c143
commit
97c1ae568c
@ -582,7 +582,7 @@ bool IrSendCommand(void)
|
||||
if (*p == '0') {
|
||||
raw_array[i++] = bit_mrk;
|
||||
raw_array[i++] = zer_spc;
|
||||
} else {
|
||||
} else if (*p == '1') {
|
||||
raw_array[i++] = bit_mrk;
|
||||
raw_array[i++] = one_spc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user