Open
Description
When Flow support
is enabled, errors occur in ui.h
and ui.c
In ui.h
:
Why use this incomprehensible construction
#if !defined(EEZ_FOR_LVGL)
#warning "EEZ_FOR_LVGL is not enabled"
#define EEZ_FOR_LVGL
#endif
when you can just add
#include <eez-framework.h>
In ui.c
:
Including on the header file does not work
#include <eez/core/vars.h>
#include "ui.h"
#if defined(EEZ_FOR_LVGL)
#include <eez/core/vars.h>
#endif