refine waterSpillLevel show logic
This commit is contained in:
parent
51a7e03717
commit
d9bd3566fb
|
@ -339,7 +339,7 @@ void mlx90640_display_process(void)
|
|||
// BSP_LCD_DisplayOff();
|
||||
}
|
||||
|
||||
if (waterSpillSpotCount != lastWaterSpillSpotCount) {
|
||||
if ((waterSpillSpotCount != lastWaterSpillSpotCount)&&(waterSpillSpotCount != 0)) {
|
||||
APP_LOG(TS_OFF, VLEVEL_L, "Water Spill Spot Detected Count = %2d Level = %d of 600 \r\n", waterSpillSpotCount,waterSpillLevel);
|
||||
lastWaterSpillSpotCount = waterSpillSpotCount;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue