Commit 4375e09c authored by devsaurus's avatar devsaurus
Browse files

ignored unused functions if u8g2 module is skipped anyhow

parent 64f8ac28
...@@ -12,6 +12,13 @@ ...@@ -12,6 +12,13 @@
#include "spi_common.h" #include "spi_common.h"
#include "sdkconfig.h"
#ifndef CONFIG_LUA_MODULE_U8G2
// ignore unused functions if u8g2 module will be skipped anyhow
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
typedef struct { typedef struct {
int font_ref; int font_ref;
int host_ref; int host_ref;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment