Commented periodic resource related stuff for the sake of small code print and added minimal-net configuration in README.
This commit is contained in:
parent
78f7a74689
commit
31a14c3d90
2 changed files with 19 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue