Skip to content

Commit 1ef281b

Browse files
committed
corrected name of keypadRegisters
This name should not be the same as any other library. This will cause compilation erros if using both libraries. It was originally copied from the qwiic joystick, which was copied from the qwiic twist (hence the name "encoderRegisters")
1 parent 7835927 commit 1ef281b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Qwiic_Keypad_Arduino_Library.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#define QWIIC_KEYPAD_ADDR 0x4B //7-bit unshifted default I2C Address
3333

3434
//Map to the various registers on the Keypad
35-
enum encoderRegisters {
35+
enum keypadRegisters {
3636
KEYPAD_ID = 0x00,
3737
KEYPAD_VERSION1, // 0x01
3838
KEYPAD_VERSION2, // 0x02

0 commit comments

Comments
 (0)