Uncommented radio init line.

Added informative output.
This commit is contained in:
nvt-se 2007-08-02 08:14:00 +00:00
parent a6dba97b84
commit 0412975efd

View File

@ -139,7 +139,7 @@ main(void)
process_start(&etimer_process, NULL);
//process_start(&sensors_process, NULL);
//cc1020_init(cc1020_config_19200);
cc1020_init(cc1020_config_19200);
// network configuration
node_id_restore();
@ -164,8 +164,12 @@ main(void)
leds_off(LEDS_ALL);
lpm_on();
printf("Autostarting processes\n");
autostart_start((struct process **) autostart_processes);
printf(CONTIKI_VERSION_STRING " started. Node id %d.\n", node_id);
for (;;) {
while (process_run() > 0);
if (process_nevents() == 0) {