diff --git a/radio/src/tests/lcd_480x272.cpp b/radio/src/tests/lcd_480x272.cpp index 532a3492c0a..8ab90481f6d 100644 --- a/radio/src/tests/lcd_480x272.cpp +++ b/radio/src/tests/lcd_480x272.cpp @@ -189,7 +189,7 @@ TEST(Lcd_colorlcd, transparency) for (int n = 0; n < 10; n++) { int x = 120 + n * 20; int y = 80 + n * 10; - int color = COLOR(n / 2 + 4); + int color = COLOR((n / 2 + 4)); int size = 100; dc.drawFilledRect(x, y, size, size, SOLID, color, OPACITY(8)); } @@ -291,7 +291,7 @@ TEST(Lcd_colorlcd, masks) } EXPECT_TRUE(checkScreenshot_colorlcd(&dc, "masks")); - delete mask; + free(mask); } #if 0