remove warnings
This commit is contained in:
parent
fa11a55a45
commit
9226facda8
2 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue