squash clean up left overs
This commit is contained in:
parent
6b238873ef
commit
f16f5b5241
|
@ -196,16 +196,12 @@ PROCESS_THREAD(rest_engine_process, ev, data)
|
||||||
{
|
{
|
||||||
PROCESS_BEGIN();
|
PROCESS_BEGIN();
|
||||||
|
|
||||||
PRINTF("Starting rest_engine_process\n");
|
|
||||||
|
|
||||||
/* pause to let REST server finish adding resources. */
|
/* pause to let REST server finish adding resources. */
|
||||||
PROCESS_PAUSE();
|
PROCESS_PAUSE();
|
||||||
|
|
||||||
/* initialize the PERIODIC_RESOURCE timers, which will be handled by this process. */
|
/* initialize the PERIODIC_RESOURCE timers, which will be handled by this process. */
|
||||||
periodic_resource_t *periodic_resource = NULL;
|
periodic_resource_t *periodic_resource = NULL;
|
||||||
|
|
||||||
PRINTF("Periodic: process\n");
|
|
||||||
|
|
||||||
for(periodic_resource =
|
for(periodic_resource =
|
||||||
(periodic_resource_t *)list_head(restful_periodic_services);
|
(periodic_resource_t *)list_head(restful_periodic_services);
|
||||||
periodic_resource; periodic_resource = periodic_resource->next) {
|
periodic_resource; periodic_resource = periodic_resource->next) {
|
||||||
|
@ -216,7 +212,6 @@ PROCESS_THREAD(rest_engine_process, ev, data)
|
||||||
periodic_resource->period);
|
periodic_resource->period);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
PROCESS_WAIT_EVENT();
|
PROCESS_WAIT_EVENT();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue