1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 04:48:12 +00:00

fix(core/rust): shorten the ANIM_FRAME_TIMER deadline

[no changelog]
This commit is contained in:
cepetr 2024-06-06 15:17:57 +02:00 committed by cepetr
parent bb310ad60d
commit a8f808822c

View File

@ -535,7 +535,7 @@ impl EventCtx {
pub const ANIM_FRAME_TIMER: TimerToken = TimerToken(1);
/// How long into the future we should schedule the animation frame timer.
const ANIM_FRAME_DEADLINE: Duration = Duration::from_millis(18);
const ANIM_FRAME_DEADLINE: Duration = Duration::from_millis(1);
// 0 == `TimerToken::INVALID`,
// 1 == `Self::ANIM_FRAME_TIMER`.