Skip to content

Commit

Permalink
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 committed Nov 2, 2023
1 parent 8fe52f2 commit d92a14e
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 d92a14e

Please sign in to comment.