Manual fix for oddball cases

This commit is contained in:
Jeff Epler 2022-09-27 12:31:26 -05:00
parent c415c13517
commit 4e96667d50
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
2 changed files with 3 additions and 4 deletions

View File

@ -313,9 +313,8 @@ STATIC void check_for_deinit(rp2pio_statemachine_obj_t *self) {
//| def restart(self) -> None:
//| """Resets this state machine, runs any init and enables the clock."""
// TODO: "and any others given. They must share an underlying PIO. An exception will be raised otherwise.""
//| ...
//|
// TODO: "and any others given. They must share an underlying PIO. An exception will be raised otherwise.""
STATIC mp_obj_t rp2pio_statemachine_restart(mp_obj_t self_obj) {
rp2pio_statemachine_obj_t *self = MP_OBJ_TO_PTR(self_obj);
check_for_deinit(self);

View File

@ -40,10 +40,10 @@
//| contains methods for constructing EVE command
//| buffers and appending basic graphics commands."""
//|
//| class _EVE:
//| def __init__(self) -> None:
//| """Create an _EVE object"""
//|
typedef struct _mp_obj__EVE_t {
mp_obj_base_t base;
common_hal__eve_t _eve;