set an initial default channel --- otherwise the maca isr hogs the
CPU.
This commit is contained in:
parent
76a8e49262
commit
17e7827d43
1 changed files with 1 additions and 0 deletions
|
@ -173,6 +173,7 @@ void maca_init(void) {
|
|||
radio_init();
|
||||
flyback_init();
|
||||
init_phy();
|
||||
set_channel(0); /* things get weird if you never set a channel */
|
||||
free_head = 0; tx_head = 0; rx_head = 0; rx_end = 0; tx_end = 0; dma_tx = 0; dma_rx = 0;
|
||||
free_all_packets();
|
||||
|
||||
|
|
Loading…
Reference in a new issue