Skip to content

Commit f76ff1e

Browse files
committed
Fixed Optional[Pull]
1 parent db924fb commit f76ff1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/digitalio/DigitalInOut.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ STATIC mp_obj_t digitalio_digitalinout_switch_to_input(size_t n_args, const mp_o
162162
check_for_deinit(self);
163163
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
164164
mp_arg_parse_all(n_args - 1, pos_args + 1, kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args);
165-
165+
166166

167167
digitalio_pull_t pull = PULL_NONE;
168168
if (args[ARG_pull].u_rom_obj == &digitalio_pull_up_obj) {
@@ -296,7 +296,7 @@ const mp_obj_property_t digitalio_digitalio_drive_mode_obj = {
296296
(mp_obj_t)&mp_const_none_obj},
297297
};
298298

299-
//| pull: Optional[Pull] ...
299+
//| pull: Optional[Pull] = ...
300300
//| """The pin pull direction. One of:
301301
//|
302302
//| - `digitalio.Pull.UP`

0 commit comments

Comments
 (0)