1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 12:00:59 +00:00

boardloader/bootloader: typo

This commit is contained in:
Pavol Rusnak 2017-12-16 15:12:58 +01:00
parent 4584861385
commit 11a3ff055c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ int main(void)
load_image_header((const uint8_t *)BOOTLOADER_START, BOOTLOADER_IMAGE_MAGIC, BOOTLOADER_IMAGE_MAXSIZE, BOARDLOADER_KEY_M, BOARDLOADER_KEY_N, BOARDLOADER_KEYS, &hdr),
"invalid bootloader header");
uint8_t sectors[] = {
const uint8_t sectors[] = {
FLASH_SECTOR_BOOTLOADER,
};
ensure(

View File

@ -337,7 +337,7 @@ int main(void)
load_image_header((const uint8_t *)(FIRMWARE_START + vhdr.hdrlen), FIRMWARE_IMAGE_MAGIC, FIRMWARE_IMAGE_MAXSIZE, vhdr.vsig_m, vhdr.vsig_n, vhdr.vpub, &hdr),
"invalid firmware header");
uint8_t sectors[] = {
const uint8_t sectors[] = {
FLASH_SECTOR_FIRMWARE_START,
7,
8,