Skip to content

Commit 1f4d857

Browse files
committed
Move declaration of GIF internal.
1 parent 3597df2 commit 1f4d857

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Braccio++.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ void BraccioClass::display_thread_func()
296296

297297
void BraccioClass::lvgl_splashScreen(unsigned long const duration_ms, std::function<void()> check_power_func)
298298
{
299+
extern const lv_img_dsc_t img_bulb_gif;
300+
299301
LV_IMG_DECLARE(img_bulb_gif);
300302
lv_obj_t* img = lv_gif_create(lv_scr_act());
301303
lv_gif_set_src(img, &img_bulb_gif);

src/Braccio++.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#include "lib/TFT_eSPI/TFT_eSPI.h" // Hardware-specific library
1212
#include <lvgl.h>
1313

14-
extern const lv_img_dsc_t img_bulb_gif;
15-
1614
enum speed_grade_t {
1715
FAST = 10,
1816
MEDIUM = 100,

0 commit comments

Comments
 (0)