Skip to content

Commit 3038b9a

Browse files
jeplertannewt
andauthored
Update shared-bindings/keypad/ShiftRegisterKeys.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
1 parent 685fdf2 commit 3038b9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-bindings/keypad/ShiftRegisterKeys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
//| ...
8383

8484
STATIC mp_obj_t keypad_shiftregisterkeys_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
85-
#if CIRCUITPY_KEYPAD_KEYMATRIX
85+
#if CIRCUITPY_KEYPAD_SHIFTREGISTERKEYS
8686
keypad_shiftregisterkeys_obj_t *self = m_new_obj(keypad_shiftregisterkeys_obj_t);
8787
self->base.type = &keypad_shiftregisterkeys_type;
8888
enum { ARG_clock, ARG_data, ARG_latch, ARG_value_to_latch, ARG_key_count, ARG_value_when_pressed, ARG_interval, ARG_max_events };

0 commit comments

Comments
 (0)