didn't actually do the last step. fixed.

This commit is contained in:
Mariano Alvira 2009-04-13 12:45:46 -04:00
parent 35a49ef52b
commit 08c64f776e
2 changed files with 3 additions and 3 deletions

View file

@ -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! */
}