call dma_init.

This commit is contained in:
nvt-se 2007-08-16 13:54:58 +00:00
parent d5027f0041
commit 8b3e9477d9

View file

@ -49,12 +49,12 @@
#include "sys/autostart.h" #include "sys/autostart.h"
#include "dev/adc.h" #include "dev/adc.h"
#include "dev/dma.h"
#include "dev/slip.h"
#include "net/mac/nullmac.h" #include "net/mac/nullmac.h"
#include "net/mac/xmac.h" #include "net/mac/xmac.h"
#include "dev/slip.h"
SENSORS(NULL); SENSORS(NULL);
#if WITH_UIP #if WITH_UIP
@ -73,6 +73,7 @@ static void
set_rime_addr(void) set_rime_addr(void)
{ {
rimeaddr_t addr; rimeaddr_t addr;
addr.u16[0] = node_id; addr.u16[0] = node_id;
rimeaddr_set_node_addr(&addr); rimeaddr_set_node_addr(&addr);
} }
@ -113,6 +114,7 @@ main(void)
/* Platform-specific initialization. */ /* Platform-specific initialization. */
msb_ports_init(); msb_ports_init();
adc_init(); adc_init();
dma_init();
clock_init(); clock_init();
leds_init(); leds_init();