Typo fix: direcion -> direction

This commit is contained in:
Scott Shawcroft 2021-02-26 15:03:56 -08:00 committed by GitHub
parent 888a0c5f08
commit 776301c932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -426,7 +426,7 @@ void common_hal_rp2pio_statemachine_construct(rp2pio_statemachine_obj_t *self,
mp_raise_ValueError(translate("Initial set pin state conflicts with initial out pin state")); mp_raise_ValueError(translate("Initial set pin state conflicts with initial out pin state"));
} }
if ((initial_pin_direction & set_out_overlap) != (initial_set_pin_direction & set_out_overlap)) { if ((initial_pin_direction & set_out_overlap) != (initial_set_pin_direction & set_out_overlap)) {
mp_raise_ValueError(translate("Initial set pin direcion conflicts with initial out pin direction")); mp_raise_ValueError(translate("Initial set pin direction conflicts with initial out pin direction"));
} }
initial_pin_state |= initial_set_pin_state; initial_pin_state |= initial_set_pin_state;
initial_pin_direction |= initial_set_pin_direction; initial_pin_direction |= initial_set_pin_direction;