Skip to content

Commit

Permalink
Update shared-bindings/keypad/ShiftRegisterKeys.c
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
  • Loading branch information
jepler and tannewt authored Apr 5, 2023
1 parent 685fdf2 commit 3038b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared-bindings/keypad/ShiftRegisterKeys.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
//| ...

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) {
#if CIRCUITPY_KEYPAD_KEYMATRIX
#if CIRCUITPY_KEYPAD_SHIFTREGISTERKEYS
keypad_shiftregisterkeys_obj_t *self = m_new_obj(keypad_shiftregisterkeys_obj_t);
self->base.type = &keypad_shiftregisterkeys_type;
enum { ARG_clock, ARG_data, ARG_latch, ARG_value_to_latch, ARG_key_count, ARG_value_when_pressed, ARG_interval, ARG_max_events };
Expand Down

0 comments on commit 3038b9a

Please sign in to comment.