add LCD Display on off based on blackouttag

This commit is contained in:
Yunhorn 2023-08-10 09:06:57 +08:00
parent 2852c8e0ee
commit 94f2a19144
1 changed files with 4 additions and 0 deletions

View File

@ -271,8 +271,12 @@ void mlx90640_display_process(void)
if (blackOutTag == 0) if (blackOutTag == 0)
{ {
BSP_LCD_DisplayOn();
drawPicture(); drawPicture();
drawMeasurement(); drawMeasurement();
} else {
BSP_LCD_DisplayOff();
} }
} }