Commented periodic resource related stuff for the sake of small code print and added minimal-net configuration in README.

This commit is contained in:
dogan yazar 2011-04-13 00:07:47 +02:00
parent 78f7a74689
commit 31a14c3d90
2 changed files with 19 additions and 5 deletions

View file

@ -291,6 +291,7 @@ PROCESS_THREAD(rest_manager_process, ev, data)
PROCESS_PAUSE();
/*Periodic resources are only available to COAP implementation*/
#if 0
#ifdef WITH_COAP
periodic_resource_t* periodic_resource = NULL;
for (periodic_resource = (periodic_resource_t*)list_head(restful_periodic_services); periodic_resource; periodic_resource = periodic_resource->next) {
@ -327,6 +328,6 @@ PROCESS_THREAD(rest_manager_process, ev, data)
}
}
#endif /*WITH_COAP*/
#endif
PROCESS_END();
}