gets rid of 'deprecated conversion from string constant to char*'
This commit is contained in:
parent
3af0cc460c
commit
eeb90bab77
1 changed files with 2 additions and 0 deletions
2
examples/osd/triggerbaord/sketch.pde
Normal file → Executable file
2
examples/osd/triggerbaord/sketch.pde
Normal file → Executable file
|
@ -45,11 +45,13 @@ void setup (void)
|
|||
SENSORS_ACTIVATE(button_sensor);
|
||||
// init coap resourcen
|
||||
rest_init_engine ();
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
rest_activate_resource (&res_led, "s/led");
|
||||
rest_activate_resource (&res_bled, "s/bled");
|
||||
rest_activate_resource (&res_battery, "s/battery");
|
||||
rest_activate_resource (&res_cputemp, "s/cputemp");
|
||||
rest_activate_resource(&res_event, "s/button");
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
// NETSTACK_MAC.off(1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue