Silence another pedantic warning
* templ -> object short name with lower case(e.g. btn, label etc)
* TEMPL -> object short name with upper case (e.g. BTN, LABEL etc.)
*
+ * You can remove the defined() clause from the #if statement below. This exists because LV_USE_TEMPL
+ * is not in lv_conf.h or lv_conf_templ.h by default.
*/
/*********************
* INCLUDES
*********************/
//#include "lv_templ.h" /*TODO uncomment this*/
-#if LV_USE_TEMPL != 0
+
+#if defined(LV_USE_TEMPL) && LV_USE_TEMPL != 0
/*********************
* DEFINES
