1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

fix emulator build

This commit is contained in:
Pavol Rusnak 2018-05-23 15:46:38 +02:00
parent a83c64fbdb
commit 1fdcd916c4
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -111,10 +111,10 @@ void memory_protect(void);
void memory_write_unlock(void);
int memory_bootloader_hash(uint8_t *hash);
inline void flash_write32(uint32_t addr, uint32_t word) {
static inline void flash_write32(uint32_t addr, uint32_t word) {
*(volatile uint32_t *) FLASH_PTR(addr) = word;
}
inline void flash_write8(uint32_t addr, uint8_t byte) {
static inline void flash_write8(uint32_t addr, uint8_t byte) {
*(volatile uint8_t *) FLASH_PTR(addr) = byte;
}