mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
fix(core): resolve static_assert error on macos compiler
[no changelog]
This commit is contained in:
parent
3036d524a6
commit
0ebc82728b
@ -26,7 +26,9 @@
|
||||
#include "image.h"
|
||||
#include "model.h"
|
||||
|
||||
_Static_assert(VENDOR_HEADER_MAX_SIZE + IMAGE_HEADER_SIZE <= IMAGE_CHUNK_SIZE);
|
||||
_Static_assert(VENDOR_HEADER_MAX_SIZE + IMAGE_HEADER_SIZE <= IMAGE_CHUNK_SIZE,
|
||||
"The size of the firmware headers must be less than or equal to "
|
||||
"IMAGE_CHUNK_SIZE");
|
||||
|
||||
const uint8_t BOOTLOADER_KEY_M = 2;
|
||||
const uint8_t BOOTLOADER_KEY_N = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user