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:
parent
bb310ad60d
commit
a8f808822c
@ -535,7 +535,7 @@ impl EventCtx {
|
|||||||
pub const ANIM_FRAME_TIMER: TimerToken = TimerToken(1);
|
pub const ANIM_FRAME_TIMER: TimerToken = TimerToken(1);
|
||||||
|
|
||||||
/// How long into the future we should schedule the animation frame timer.
|
/// 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`,
|
// 0 == `TimerToken::INVALID`,
|
||||||
// 1 == `Self::ANIM_FRAME_TIMER`.
|
// 1 == `Self::ANIM_FRAME_TIMER`.
|
||||||
|
Loading…
Reference in New Issue
Block a user