Fix Error: board/stm32_ssd1289.c:310:12: error: converting the result of '<<' to a boolean always evaluates to true

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-21 10:21:40 +08:00 committed by archer
parent 88649d03ba
commit 12b3a1ae56
3 changed files with 3 additions and 3 deletions

View File

@ -809,7 +809,7 @@ static void lcd_backlight(void)
/* Select the output polarity level == HIGH */
ccer &= !ATIM_CCER_CC2P;
ccer &= ~ATIM_CCER_CC2P;
/* Enable channel 2 */

View File

@ -307,7 +307,7 @@ static void init_lcd_backlight(void)
/* Select the output polarity level == HIGH */
ccer &= !ATIM_CCER_CC2P;
ccer &= ~ATIM_CCER_CC2P;
/* Enable channel 2 */

View File

@ -375,7 +375,7 @@ static void init_lcd_backlight(void)
/* Select the output polarity level == HIGH */
ccer &= !ATIM_CCER_CC2P;
ccer &= ~ATIM_CCER_CC2P;
/* Enable channel 2 */