From 4ba4d55e34e746309c796ed76595b858c3958632 Mon Sep 17 00:00:00 2001 From: "Enric M. Calvo" Date: Sat, 26 Mar 2011 10:15:49 +0100 Subject: [PATCH] cleaned up main --- .gitignore | 2 +- platform/z1/contiki-z1-main.c | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ecec9ba6e..ca2f32a4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -.a +*.a *.bin *.map *.png diff --git a/platform/z1/contiki-z1-main.c b/platform/z1/contiki-z1-main.c index 6363ad179..332a9a4d4 100644 --- a/platform/z1/contiki-z1-main.c +++ b/platform/z1/contiki-z1-main.c @@ -32,7 +32,7 @@ #include #include #include -#include //Enric_Joakim +#include #include @@ -246,7 +246,6 @@ main(int argc, char **argv) } #endif - //Enric random_init(node_mac[0] + node_id); /* * Initialize Contiki and our processes. @@ -256,7 +255,7 @@ main(int argc, char **argv) ctimer_init(); - init_platform(); //Enric_Z1SP process_start(&sensors_process, NULL); + init_platform(); set_rime_addr(); @@ -291,7 +290,6 @@ main(int argc, char **argv) #if WITH_UIP6 - PRINTF("in WITH_UIP6\n"); //Enric memcpy(&uip_lladdr.addr, node_mac, sizeof(uip_lladdr.addr)); /* Setup nullmac-like MAC for 802.15.4 */ /* sicslowpan_init(sicslowmac_init(&cc2420_driver)); */