Skip to content

Commit

Permalink
feat(MiscDrivers): Add Ability to Override TS_MAX_BUTTONS for TSC2046 (
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter authored Nov 6, 2023
1 parent 29a1beb commit 73bac29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Libraries/MiscDrivers/Touchscreen/tsc2046.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
#include <gpio.h>

/************************************************************************************/
#ifndef TS_MAX_BUTTONS
#define TS_MAX_BUTTONS 16
#endif
#define TS_INVALID_KEY_CODE -1

typedef enum {
Expand Down

0 comments on commit 73bac29

Please sign in to comment.