Remove power button bind

This commit is contained in:
2024-11-27 21:31:52 -05:00
parent 8375e3c617
commit c6ce7d766c
2 changed files with 6 additions and 5 deletions

View File

@@ -25,7 +25,7 @@
#define BUTTON_SELECT 27
#define BUTTON_ALT 22
#define BUTTON_BACK 6
#define BUTTON_POWER 20
//#define BUTTON_POWER 20
typedef struct {
int gpio_pin;
@@ -40,10 +40,10 @@ ButtonMap button_map[] = {
{BUTTON_SELECT, 's'},
{BUTTON_ALT, 'a'},
{BUTTON_BACK, 'b'},
{BUTTON_POWER, 'p'},
// {BUTTON_POWER, 'p'},
};
#define NUM_BUTTONS 8
#define NUM_BUTTONS 7
struct gpiod_chip *chip;
struct gpiod_line *line_pointers[NUM_BUTTONS];