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:
parent
88649d03ba
commit
12b3a1ae56
@ -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 */
|
||||
|
||||
|
@ -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 */
|
||||
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user