fix(esp32s3-eye): unexpose backlight GPIO

This IO is not exposed in any headers and it is only used for LCD.

So we don't expose it as gpio device.
This commit is contained in:
Marco Casaroli 2023-10-11 19:05:54 +00:00 committed by Alan Carvalho de Assis
parent b7bc0e542c
commit 20b5d2b84c
2 changed files with 3 additions and 6 deletions

View file

@ -45,7 +45,7 @@
/* GPIO pins used by the GPIO Subsystem */
#define BOARD_NGPIOOUT 2 /* Amount of GPIO Output pins */
#define BOARD_NGPIOOUT 1 /* Amount of GPIO Output pins */
#define BOARD_NGPIOIN 0
#define BOARD_NGPIOINT 1

View file

@ -48,12 +48,10 @@
# error "NGPIOINT is > 0 and GPIO interrupts aren't enabled"
#endif
/* Output pins. GPIO3 is the LED, GPIO48 is the LCD backlight.
* used.
/* Output pins. GPIO3 is the LED.
*/
#define GPIO_OUT1 3
#define GPIO_OUT2 48
/* Input pins. GPIO0 is the BOOT button.
*/
@ -118,8 +116,7 @@ static const struct gpio_operations_s gpout_ops =
static const uint32_t g_gpiooutputs[BOARD_NGPIOOUT] =
{
GPIO_OUT1,
GPIO_OUT2
GPIO_OUT1
};
static struct esp32s3gpio_dev_s g_gpout[BOARD_NGPIOOUT];