mirror of https://github.com/arendst/Tasmota.git
Merge pull request #5611 from kinsamanka/irsend
Ignore non-binary char in bit stream
This commit is contained in:
commit
19ab3183f4
|
@ -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…
Reference in New Issue