From 659be7cbcc4e248d96f09e841e1456e1a58f27ce Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Thu, 21 Jul 2011 09:37:44 -0400 Subject: [PATCH] set the power to the lowest setting by default --- lib/maca.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/maca.c b/lib/maca.c index 74b8b44da..828c0f81e 100644 --- a/lib/maca.c +++ b/lib/maca.c @@ -174,6 +174,7 @@ void maca_init(void) { flyback_init(); init_phy(); 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_all_packets();