Skip to content

Commit

Permalink
fix compiler error if USE_ST7789 not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mverch67 committed Jan 26, 2025
1 parent c2a165b commit 85a4ca9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/graphics/LVGL/LVGL_ST7789_Driver.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#if defined(LV_USE_ST7789) && LV_USE_ST7789 == 1

#include "graphics/LVGL/LVGL_ST7789_Driver.h"
#include "util/ILog.h"

Expand Down Expand Up @@ -48,3 +50,5 @@ void LVGL_ST7789_Driver::lcd_send_color_cb(lv_display_t *disp, const uint8_t *cm
size_t param_size)
{
}

#endif

0 comments on commit 85a4ca9

Please sign in to comment.