mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-08 12:30:40 +00:00
set the power to the lowest setting by default
This commit is contained in:
parent
17e7827d43
commit
659be7cbcc
@ -174,6 +174,7 @@ void maca_init(void) {
|
|||||||
flyback_init();
|
flyback_init();
|
||||||
init_phy();
|
init_phy();
|
||||||
set_channel(0); /* things get weird if you never set a channel */
|
set_channel(0); /* things get weird if you never set a channel */
|
||||||
|
set_power(0); /* set the power too --- who knows what happens if you don't */
|
||||||
free_head = 0; tx_head = 0; rx_head = 0; rx_end = 0; tx_end = 0; dma_tx = 0; dma_rx = 0;
|
free_head = 0; tx_head = 0; rx_head = 0; rx_end = 0; tx_end = 0; dma_tx = 0; dma_rx = 0;
|
||||||
free_all_packets();
|
free_all_packets();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user