chore: Fix a bunch of compile warnings (#2748)

* chore: fix warnings for simu and firmware, part 1

* chore: fix warnings
This commit is contained in:
Malte Langermann
2022-12-05 20:41:42 +10:00
committed by GitHub
parent 7bdb32a8cd
commit d134e1a840
25 changed files with 39 additions and 38 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ static pixel_t _LCD_BUF2[DISPLAY_BUFFER_SIZE] __SDRAM;
pixel_t* simuLcdBuf = _LCD_BUF1;
pixel_t* simuLcdBackBuf = _LCD_BUF2;
#if 0
// Copy 2 pixels at once to speed up a little
static void _copy_rotate_180(uint16_t* dst, uint16_t* src, const rect_t& copy_area)
{
@@ -101,7 +101,7 @@ static void _rotate_area_180(lv_area_t& area)
area.x2 = LCD_W - area.x1 - 1;
area.x1 = LCD_W - tmp_coord - 1;
}
#endif
static void _copy_screen_area(uint16_t* dst, uint16_t* src, const lv_area_t& copy_area)
{
lv_coord_t x1 = copy_area.x1;