esp_lcd_backlight: do not build if not enabled
Signed-off-by: Rajssss <sssraj.sssraj@gmail.com>
This commit is contained in:
parent
5d4334a5b9
commit
35a005a47c
2 changed files with 8 additions and 2 deletions
|
@ -19,8 +19,9 @@
|
|||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
#if CONFIG_LV_ENABLE_BACKLIGHT_CONTROL
|
||||
#define DISP_PIN_BCKL CONFIG_LV_DISP_PIN_BCKL
|
||||
|
||||
#endif
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue