Add query parameter to generic resouce macros
Modify all callback functions to use new signature. ota-update now uses this to pass the partition to some get/put methods.
This commit is contained in:
parent
954da749eb
commit
e3784fa9c7
20 changed files with 357 additions and 82 deletions
|
@ -25,7 +25,7 @@ void setup (void)
|
|||
digitalWrite (BRIDGE2_PIN, LOW);
|
||||
|
||||
rest_init_engine ();
|
||||
rest_activate_resource (&res_valve, "valve");
|
||||
rest_activate_resource (&res_valve, (char *)"valve");
|
||||
}
|
||||
|
||||
void loop (void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue