Skip to content

Commit 9679aaa

Browse files
jeplertannewt
andauthored
Apply suggestions from code review
Co-authored-by: Scott Shawcroft <[email protected]>
1 parent 3038b9a commit 9679aaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/keypad/ShiftRegisterKeys.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ STATIC mp_obj_t keypad_shiftregisterkeys_make_new(const mp_obj_type_t *type, siz
119119
#endif
120120
}
121121

122-
#if CIRCUITPY_KEYPAD_KEYMATRIX
122+
#if CIRCUITPY_KEYPAD_SHIFTREGISTERKEYS
123123
//| def deinit(self) -> None:
124124
//| """Stop scanning and release the pins."""
125125
//| ...
@@ -180,7 +180,7 @@ const mp_obj_type_t keypad_shiftregisterkeys_type = {
180180
{ &mp_type_type },
181181
.name = MP_QSTR_ShiftRegisterKeys,
182182
.make_new = keypad_shiftregisterkeys_make_new,
183-
#if CIRCUITPY_KEYPAD_KEYMATRIX
183+
#if CIRCUITPY_KEYPAD_SHIFTREGISTERKEYS
184184
.locals_dict = (mp_obj_t)&keypad_shiftregisterkeys_locals_dict,
185185
#endif
186186
};

0 commit comments

Comments
 (0)