run cppcheck and fix issues

This commit is contained in:
Gabor Kiss-Vamosi
2020-02-25 15:32:35 +01:00
parent 10ae15e030
commit 16ed5c605a
31 changed files with 124 additions and 146 deletions

View File

@@ -384,7 +384,7 @@ static void get_rounded_area(int16_t angle, lv_coord_t radius, uint8_t tickness,
const uint8_t pa = 127;
int32_t thick_half = tickness / 2;
uint8_t thick_corr = tickness & 0x01 ? 0 : 1;
uint8_t thick_corr = (tickness & 0x01) ? 0 : 1;
int32_t rx_corr;
int32_t ry_corr;