From 871ea5cc709dedbb49e17ded87ee8c88d16758dd Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sun, 8 May 2016 02:26:09 +0200 Subject: [PATCH] update vendor/micropython --- extmod/modtrezormsg/modtrezormsg.c | 4 ++++ vendor/micropython | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/extmod/modtrezormsg/modtrezormsg.c b/extmod/modtrezormsg/modtrezormsg.c index ae4417ead0..832bb23698 100644 --- a/extmod/modtrezormsg/modtrezormsg.c +++ b/extmod/modtrezormsg/modtrezormsg.c @@ -82,7 +82,11 @@ STATIC mp_obj_t mod_TrezorMsg_Msg_select(mp_obj_t self, mp_obj_t timeout_us) { if (timeout <= 0) { break; } +#if defined UNIX + mp_hal_delay_us(TICK_RESOLUTION); +#else mp_hal_delay_us_fast(TICK_RESOLUTION); +#endif timeout -= TICK_RESOLUTION; } return mp_const_none; diff --git a/vendor/micropython b/vendor/micropython index d443ebe837..d7cf470160 160000 --- a/vendor/micropython +++ b/vendor/micropython @@ -1 +1 @@ -Subproject commit d443ebe83745f2cf3352aaa2db4d528582372bb6 +Subproject commit d7cf4701602f996acc5ff3eb5aafe549d1cfdaaa