eliminate c++ string warnings

This commit is contained in:
Harald Pichler 2016-10-17 08:20:16 +02:00
parent a152a30958
commit 3b28df58da

View file

@ -118,10 +118,12 @@ void setup (void)
}
// init coap resourcen
rest_init_engine ();
#pragma GCC diagnostic ignored "-Wwrite-strings"
rest_activate_resource (&res_htu21dtemp, "s/temp");
rest_activate_resource (&res_htu21dhum, "s/hum");
rest_activate_resource (&res_dtemp1, "s/tempd");
rest_activate_resource (&res_battery, "s/battery");
#pragma GCC diagnostic pop
}
// at project-conf.h