From af6c6d43edda76a9e9b52e87275e1fe87a495539 Mon Sep 17 00:00:00 2001 From: matejcik Date: Thu, 23 Mar 2023 14:54:54 +0100 Subject: [PATCH] fix(core/unix): add miscellaneous missing header entries --- core/embed/rust/rust_ui.h | 2 ++ core/embed/unix/common.h | 1 + core/embed/unix/random_delays.c | 2 ++ core/embed/unix/random_delays.h | 2 ++ 4 files changed, 7 insertions(+) diff --git a/core/embed/rust/rust_ui.h b/core/embed/rust/rust_ui.h index 2399a3fd5e..632eede70a 100644 --- a/core/embed/rust/rust_ui.h +++ b/core/embed/rust/rust_ui.h @@ -1,3 +1,5 @@ +#include + #include "common.h" void loader_uncompress_r(int32_t y_offset, uint16_t fg_color, uint16_t bg_color, diff --git a/core/embed/unix/common.h b/core/embed/unix/common.h index 4c528e7018..08f8471237 100644 --- a/core/embed/unix/common.h +++ b/core/embed/unix/common.h @@ -56,6 +56,7 @@ void show_pin_too_many_screen(void); : __fatal_error(#expr, msg, __FILE__, __LINE__, __func__)) void hal_delay(uint32_t ms); +uint32_t hal_ticks_ms(); void emulator_poll_events(void); void collect_hw_entropy(void); diff --git a/core/embed/unix/random_delays.c b/core/embed/unix/random_delays.c index eafc3dbbd1..080bc683fe 100644 --- a/core/embed/unix/random_delays.c +++ b/core/embed/unix/random_delays.c @@ -20,3 +20,5 @@ #include "random_delays.h" void wait_random(void) {} + +void random_delays_init(void) {} diff --git a/core/embed/unix/random_delays.h b/core/embed/unix/random_delays.h index ee7b8bef51..e720d6a7ab 100644 --- a/core/embed/unix/random_delays.h +++ b/core/embed/unix/random_delays.h @@ -20,5 +20,7 @@ #ifndef __TREZORHAL_RANDOM_DELAYS_H__ #define __TREZORHAL_RANDOM_DELAYS_H__ +void random_delays_init(void); void wait_random(void); + #endif