Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz committed Dec 12, 2023
1 parent a819342 commit d688884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio/src/tests/lcd_480x272.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down Expand Up @@ -291,7 +291,7 @@ TEST(Lcd_colorlcd, masks)
}

EXPECT_TRUE(checkScreenshot_colorlcd(&dc, "masks"));
delete mask;
free(mask);
}

#if 0
Expand Down

0 comments on commit d688884

Please sign in to comment.