Skip to content

Commit 48c8415

Browse files
Mark Shannondpgeorge
authored andcommitted
Delete unused code in display.
1 parent e5ac1fc commit 48c8415

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

source/microbit/microbitdisplay.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(microbit_display_print_obj, 2, 3, microbit_d
100100
#define ASYNC_MODE_STOPPED 0
101101
#define ASYNC_MODE_ANIMATION 1
102102
#define ASYNC_MODE_CLEAR 2
103-
#define ASYNC_MODE_WAIT_ONLY 3
104103

105104
static int async_mode = ASYNC_MODE_STOPPED;
106105
static mp_obj_t async_repeat_iterable = NULL;
@@ -249,9 +248,6 @@ static void microbit_display_update(void) {
249248
return;
250249
async_tick = 0;
251250
switch (async_mode) {
252-
case ASYNC_MODE_WAIT_ONLY:
253-
wakeup_event();
254-
break;
255251
case ASYNC_MODE_ANIMATION:
256252
{
257253
if (MP_STATE_PORT(async_data)[0] == NULL || MP_STATE_PORT(async_data)[1] == NULL) {

0 commit comments

Comments
 (0)