fix ucg compile for u8g2 & !ucg

This commit is contained in:
devsaurus 2019-04-28 16:18:43 +02:00
parent afa996e661
commit 8251d0ae6f
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@
#include "sdkconfig.h"
#endif
#ifndef CONFIG_LUA_MODULE_U8G2
// ignore unused functions if u8g2 module will be skipped anyhow
#ifndef CONFIG_LUA_MODULE_UCG
// ignore unused functions if ucg module will be skipped anyhow
#pragma GCC diagnostic ignored "-Wunused-function"
#endif