Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x

This commit is contained in:
Mariano Alvira 2011-08-01 19:50:46 -04:00
commit 2b9f4e8fed
2 changed files with 4 additions and 0 deletions

View file

@ -48,5 +48,7 @@
#include "utils.h"
#include "asm.h"
#include "i2c.h"
#include "rtc.h"
#include "adc.h"
#endif

View file

@ -181,6 +181,8 @@ void maca_init(void) {
radio_init();
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();