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,17 +49,17 @@
#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
static struct uip_fw_netif slipif = static struct uip_fw_netif slipif =
{UIP_FW_NETIF(192,168,1,2, 255,255,255,255, slip_send)}; {UIP_FW_NETIF(192,168,1,2, 255,255,255,255, slip_send)};
#else #else
int int
putchar(int c) putchar(int c)
@ -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();