Fix board/stm32_lcd.c:584:14: error: converting the result of '<<' to a boolean; did you mean '(7 << (10)) != 0'?
@@ -581,7 +581,7 @@ static int slcd_setcontrast(uint8_t contrast)
}
regval = getreg32(STM32_LCD_FCR);
- regval &= !LCD_FCR_CC_MASK;
+ regval &= ~LCD_FCR_CC_MASK;
regval |= contrast << LCD_FCR_CC_SHIFT;
putreg32(regval, STM32_LCD_FCR);
