remove warnings

This commit is contained in:
Harald Pichler 2016-10-02 22:49:22 +02:00
parent fa11a55a45
commit 9226facda8
2 changed files with 2 additions and 1 deletions

View file

@ -75,6 +75,7 @@ int color_from_string (const char *name, const char *uri, const char *s)
return 0;
}
#pragma GCC diagnostic ignored "-Wwrite-strings"
GENERIC_RESOURCE
( red
, RED_LED
@ -101,6 +102,7 @@ GENERIC_RESOURCE
, color_from_string
, color_to_string
);
#pragma GCC diagnostic pop
void setup (void)
{