Skip to content

Commit

Permalink
framebuffer.h: don't use LVGL on mono
Browse files Browse the repository at this point in the history
  • Loading branch information
eupn committed Jul 14, 2023
1 parent 208ac36 commit 66a5ac4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/stm32/boards/Passport/framebuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

#include <stdint.h>

#ifdef SCREEN_MODE_COLOR
#include "lvgl.h"
#endif

#if defined(SCREEN_MODE_MONO) && defined(SCREEN_MODE_COLOR)
#error "SCREEN_MODE_MONO and SCREEN_MODE_COLOR cannot be used at the same time"
Expand Down

0 comments on commit 66a5ac4

Please sign in to comment.