Merge branch 'CoretechR:main' into Keypad-bugfix

This commit is contained in:
Klaus Musch 2024-01-22 12:56:21 +01:00 committed by GitHub
commit b491dee229
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,8 +77,8 @@ int backlight_brightness = 255;
// LVGL declarations
static lv_disp_draw_buf_t draw_buf;
static lv_color_t bufA[ screenWidth * screenHeight / 10 ];
static lv_color_t bufB[ screenWidth * screenHeight / 10 ];
lv_color_t * bufA = (lv_color_t *) malloc(sizeof(lv_color_t) * screenWidth * screenHeight / 10);
lv_color_t * bufB = (lv_color_t *) malloc(sizeof(lv_color_t) * screenWidth * screenHeight / 10);
lv_obj_t* objBattPercentage;
lv_obj_t* objBattIcon;
LV_IMG_DECLARE(gradientLeft);