1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 07:18:09 +00:00

fix(core): fix build on disc2 model

This commit is contained in:
cepetr 2024-03-27 09:31:32 +01:00 committed by cepetr
parent b263dbc109
commit 1e3e7f808b
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
#ifndef MODELS_MODEL_DISC2_H_
#define MODELS_MODEL_DISC2_H_
#include "sizedefs.h"
#define MODEL_NAME "T"
#define MODEL_FULL_NAME "Trezor Model T"
#define MODEL_INTERNAL_NAME "D002"

View File

@ -45,8 +45,8 @@ const flash_area_t FIRMWARE_AREA = {
.num_subareas = 1,
.subarea[0] =
{
.first_sector = FIRMWARE_SECTOR_START.num_sectors =
FIRMWARE_SECTOR_END - FIRMWARE_SECTOR_START + 1,
.first_sector = FIRMWARE_SECTOR_START,
.num_sectors = FIRMWARE_SECTOR_END - FIRMWARE_SECTOR_START + 1,
},
};