Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
commit
ebecb28a33
@ -1104,7 +1104,7 @@ msgid "Init program size invalid"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||||
msgid "Initial set pin direcion conflicts with initial out pin direction"
|
msgid "Initial set pin direction conflicts with initial out pin direction"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user