Skip to content

Commit

Permalink
cleaned up main
Browse files Browse the repository at this point in the history
  • Loading branch information
enricmcalvo committed Mar 26, 2011
1 parent aba380b commit 4ba4d55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.a
*.a
*.bin
*.map
*.png
Expand Down
6 changes: 2 additions & 4 deletions platform/z1/contiki-z1-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h> //Enric_Joakim
#include <stdarg.h>

#include <io.h>

Expand Down Expand Up @@ -246,7 +246,6 @@ main(int argc, char **argv)
}
#endif

//Enric random_init(node_mac[0] + node_id);

/*
* Initialize Contiki and our processes.
Expand All @@ -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();

Expand Down Expand Up @@ -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)); */
Expand Down

0 comments on commit 4ba4d55

Please sign in to comment.