From 8251d0ae6fb495c8332bb95314d1209acfc70b7f Mon Sep 17 00:00:00 2001 From: devsaurus Date: Sun, 28 Apr 2019 16:18:43 +0200 Subject: [PATCH] fix ucg compile for u8g2 & !ucg --- components/modules/ucg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/modules/ucg.c b/components/modules/ucg.c index bfeefd0e..5794110e 100644 --- a/components/modules/ucg.c +++ b/components/modules/ucg.c @@ -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