mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
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:
parent
b7bc0e542c
commit
20b5d2b84c
2 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue