revised legend

This commit is contained in:
Yunhorn 2023-08-07 19:06:42 +08:00
parent b01fa57bd9
commit 8c43dfa109
1 changed files with 2 additions and 2 deletions

View File

@ -113,8 +113,8 @@ static void drawLegend(void) {
j = 0;
for (ii = minTemp; ii < maxTemp; ii += inc) {
BSP_LCD_DrawVLine(8+ + j, 260, 20, TempToColor(ii));
j+=10;
BSP_LCD_DrawVLine(8+ + j++, 260, 20, TempToColor(ii));
}
BSP_LCD_SetFont(&Font16);