Skip to content

Commit

Permalink
PicoSystem: HACK: Add start() and quit().
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Oct 21, 2021
1 parent dfbcfc0 commit 0f652d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/rp2/boards/PIMORONI_PICOSYSTEM/board_builtin.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ enum _sprites_ids {
{ MP_ROM_QSTR(MP_QSTR_pen), MP_ROM_PTR(&picosystem_pen_obj) }, \
{ MP_ROM_QSTR(MP_QSTR_tick), MP_ROM_PTR(&picosystem_tick_obj) }, \
{ MP_ROM_QSTR(MP_QSTR_init), MP_ROM_PTR(&picosystem_init_obj) }, \
{ MP_ROM_QSTR(MP_QSTR_start), MP_ROM_PTR(&picosystem_run_obj) }, \
{ MP_ROM_QSTR(MP_QSTR_quit), MP_ROM_PTR(&picosystem_quit_obj) }, \
{ MP_ROM_QSTR(MP_QSTR__reset), MP_ROM_PTR(&picosystem_reset_obj) }, \
{ MP_ROM_QSTR(MP_QSTR__logo), MP_ROM_PTR(&picosystem_logo_obj) }, \
{ MP_ROM_QSTR(MP_QSTR_stats), MP_ROM_PTR(&picosystem_stats_obj) }, \
Expand Down
2 changes: 2 additions & 0 deletions py/builtin.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ MP_DECLARE_CONST_FUN_OBJ_0(picosystem_init_obj);
MP_DECLARE_CONST_FUN_OBJ_0(picosystem_reset_obj);
MP_DECLARE_CONST_FUN_OBJ_0(picosystem_tick_obj);
MP_DECLARE_CONST_FUN_OBJ_0(picosystem_logo_obj);
MP_DECLARE_CONST_FUN_OBJ_0(picosystem_run_obj);
MP_DECLARE_CONST_FUN_OBJ_0(picosystem_quit_obj);

// stats.cpp

Expand Down

0 comments on commit 0f652d4

Please sign in to comment.