Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x
This commit is contained in:
commit
2b9f4e8fed
|
@ -48,5 +48,7 @@
|
|||
#include "utils.h"
|
||||
#include "asm.h"
|
||||
#include "i2c.h"
|
||||
#include "rtc.h"
|
||||
#include "adc.h"
|
||||
|
||||
#endif
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue