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

fix(core/unix): add miscellaneous missing header entries

This commit is contained in:
matejcik 2023-03-23 14:54:54 +01:00
parent fa7c818cfc
commit af6c6d43ed
4 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#include <stdbool.h>
#include "common.h" #include "common.h"
void loader_uncompress_r(int32_t y_offset, uint16_t fg_color, uint16_t bg_color, void loader_uncompress_r(int32_t y_offset, uint16_t fg_color, uint16_t bg_color,

View File

@ -56,6 +56,7 @@ void show_pin_too_many_screen(void);
: __fatal_error(#expr, msg, __FILE__, __LINE__, __func__)) : __fatal_error(#expr, msg, __FILE__, __LINE__, __func__))
void hal_delay(uint32_t ms); void hal_delay(uint32_t ms);
uint32_t hal_ticks_ms();
void emulator_poll_events(void); void emulator_poll_events(void);
void collect_hw_entropy(void); void collect_hw_entropy(void);

View File

@ -20,3 +20,5 @@
#include "random_delays.h" #include "random_delays.h"
void wait_random(void) {} void wait_random(void) {}
void random_delays_init(void) {}

View File

@ -20,5 +20,7 @@
#ifndef __TREZORHAL_RANDOM_DELAYS_H__ #ifndef __TREZORHAL_RANDOM_DELAYS_H__
#define __TREZORHAL_RANDOM_DELAYS_H__ #define __TREZORHAL_RANDOM_DELAYS_H__
void random_delays_init(void);
void wait_random(void); void wait_random(void);
#endif #endif