From 8fa1558fc47e575dc091958374266fab8ecd6dfe Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Thu, 15 Nov 2018 15:12:17 +0100 Subject: [PATCH] [python] Small cleanup --- build/toolchain.emscripten.mak | 1 - python/port/modtime.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build/toolchain.emscripten.mak b/build/toolchain.emscripten.mak index 313209791..b6ff28cbf 100644 --- a/build/toolchain.emscripten.mak +++ b/build/toolchain.emscripten.mak @@ -59,7 +59,6 @@ __ZThn36_N4Code17ConsoleController9inputTextEPKc \ __ZZN4Code14MenuControllerC1EP9ResponderPNS_11ScriptStoreEP19ButtonRowControllerbEN3__08__invokeEPvS8_ \ __ZZN4Code14MenuControllerC1EP9ResponderPNS_11ScriptStoreEP19ButtonRowControllerbENK3__0clEPvS8_ \ _delay_ms \ -_delay_us \ _do_load \ _do_load_from_lexer \ _fun_bc_call \ diff --git a/python/port/modtime.c b/python/port/modtime.c index 2a3756e07..5806c3a61 100644 --- a/python/port/modtime.c +++ b/python/port/modtime.c @@ -6,7 +6,7 @@ #include "ion/timing.h" -void delay_ms(mp_uint_t delay) { +static void delay_ms(mp_uint_t delay) { uint32_t start = millis(); while (millis() - start < delay && !micropython_port_should_interrupt()) { msleep(1);