didn't actually do the last step. fixed.
This commit is contained in:
parent
35a49ef52b
commit
08c64f776e
2 changed files with 3 additions and 3 deletions
|
@ -338,7 +338,7 @@ void set_channel(uint8_t chan) {
|
|||
reg(ADDR_CHAN4) = tmp;
|
||||
|
||||
tmp = tmp & 0xffffe0ff;
|
||||
tmp | ((ctov_4c[chan]<<8)&0x1F00);
|
||||
tmp = tmp | (((ctov_4c[chan])<<8)&0x1F00);
|
||||
reg(ADDR_CHAN4) = tmp;
|
||||
/* duh! */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue