diff --git a/apps/plugins/test_gfx.c b/apps/plugins/test_gfx.c index 3ba8956109..2c46d16b63 100644 --- a/apps/plugins/test_gfx.c +++ b/apps/plugins/test_gfx.c @@ -16,13 +16,16 @@ * KIND, either express or implied. * ****************************************************************************/ -#include "plugin.h" -#include "lib/grey.h" -#include "lib/helper.h" -#include "lib/mylcd.h" //#define TEST_GREYLIB /* Uncomment for testing greylib instead of core gfx */ +#include "plugin.h" +#ifdef TEST_GREYLIB /* otherwise, mylcd defaults to core gfx */ +#include "lib/grey.h" +#endif +#include "lib/helper.h" +#include "lib/mylcd.h" + #ifdef TEST_GREYLIB GREY_INFO_STRUCT static unsigned char *gbuf;