gets rid of 'deprecated conversion from string constant to char*'

This commit is contained in:
Flo 2016-08-24 00:59:47 +02:00
parent 3af0cc460c
commit eeb90bab77

2
examples/osd/triggerbaord/sketch.pde Normal file → Executable file
View 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);
}