添加了不需要由 PWM 或 引脚 控制LCD背光时的背光控制空函数,防止编译报错

This commit is contained in:
Ihavedone 2020-01-15 21:09:58 +08:00
parent 04831062bd
commit 5eeae513ae
1 changed files with 5 additions and 0 deletions

View File

@ -254,6 +254,11 @@ void turn_on_lcd_backlight(void)
rt_pin_write(LCD_DISP_GPIO_NUM, PIN_HIGH);
rt_pin_write(LCD_BL_GPIO_NUM, PIN_HIGH);
}
#else
void turn_on_lcd_backlight(void)
{
}
#endif