Skip to content

Commit 0317185

Browse files
authored
fix(color): LVGL font generation not working (#5807)
Fix font generation after H7 changes
1 parent d9f4667 commit 0317185

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

radio/src/fonts/lvgl/lz4_font.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
#include <stdio.h>
5050
#include <stdlib.h>
5151

52+
#define __IRAM
53+
#define LV_SKIP_DEFINES 1
5254
#include "../../gui/colorlcd/lv_conf.h"
5355
#define LV_CONF_SKIP 1
5456
#include "../../gui/colorlcd/lz4_fonts.h"

radio/src/gui/colorlcd/lv_conf.h

+2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
/* clang-format off */
2525

2626
#include <stdint.h>
27+
#if !defined(LV_SKIP_DEFINES)
2728
#include "definitions.h"
29+
#endif
2830

2931
/*====================
3032
COLOR SETTINGS

0 commit comments

Comments
 (0)