mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-12 18:49:07 +00:00
modtrezormsg: don't use delay_us_fast for stmhal
This commit is contained in:
parent
216b60d8b6
commit
affb893cb1
@ -149,11 +149,7 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user