code cleanup

This commit is contained in:
Harald Pichler 2013-11-29 15:22:33 +01:00
parent cc950ace98
commit f7e4fb6499
3 changed files with 6 additions and 16 deletions

View file

@ -373,8 +373,6 @@ hw_init()
#endif
}
#define MESURE_INTERVAL (CLOCK_SECOND/2)
PROCESS(rest_server_example, "Erbium Example Server");
AUTOSTART_PROCESSES(&rest_server_example, &sensors_process);
@ -426,11 +424,7 @@ PROCESS_THREAD(rest_server_example, ev, data)
/* Define application-specific events here. */
while(1) {
PROCESS_WAIT_EVENT();
#if defined (REST_RES_EVENT)
if (ev == sensors_event ) {
PRINTF("EVENT\n");
}
#endif /* REST_RES_EVENT */
} /* while (1) */
PROCESS_END();
}