Ignore non-binary char in bit stream

This commit is contained in:
GP Orcullo 2019-04-09 19:11:47 +08:00
parent b3e8d3c143
commit 97c1ae568c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}