esp_lcd_backlight: do not build if not enabled

Signed-off-by: Rajssss <sssraj.sssraj@gmail.com>
This commit is contained in:
Rajssss 2021-06-26 13:30:26 +05:30
parent 5d4334a5b9
commit 35a005a47c
No known key found for this signature in database
GPG key ID: 5D2F803A3F7DD428
2 changed files with 8 additions and 2 deletions

View file

@ -19,8 +19,9 @@
/*********************
* DEFINES
*********************/
#if CONFIG_LV_ENABLE_BACKLIGHT_CONTROL
#define DISP_PIN_BCKL CONFIG_LV_DISP_PIN_BCKL
#endif
/**********************
* GLOBAL PROTOTYPES