1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-08 21:52:42 +00:00

mytrezor.com -> trezor.io/start

This commit is contained in:
Pavol Rusnak 2017-01-10 15:08:08 +01:00
parent 1e297c68fa
commit ab006262e8
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ void layoutFirmwareHash(uint8_t *hash)
void show_halt(void) void show_halt(void)
{ {
layoutDialog(&bmp_icon_error, NULL, NULL, NULL, "Unofficial firmware", "aborted.", NULL, "Unplug your TREZOR", "and see our support", "page at mytrezor.com"); layoutDialog(&bmp_icon_error, NULL, NULL, NULL, "Unofficial firmware", "aborted.", NULL, "Unplug your TREZOR", "contact our support.", NULL);
system_halt(); system_halt();
} }

View File

@ -335,7 +335,7 @@ static void hid_rx_callback(usbd_device *dev, uint8_t ep)
if (flash_len > FLASH_TOTAL_SIZE + FLASH_META_DESC_LEN - (FLASH_APP_START - FLASH_ORIGIN)) { // firmware is too big if (flash_len > FLASH_TOTAL_SIZE + FLASH_META_DESC_LEN - (FLASH_APP_START - FLASH_ORIGIN)) { // firmware is too big
send_msg_failure(dev); send_msg_failure(dev);
flash_state = STATE_END; flash_state = STATE_END;
layoutDialog(&bmp_icon_error, NULL, NULL, NULL, "Firmware is too big.", NULL, "Get official firmware", "from mytrezor.com", NULL, NULL); layoutDialog(&bmp_icon_error, NULL, NULL, NULL, "Firmware is too big.", NULL, "Get official firmware", "from trezor.io/start", NULL, NULL);
return; return;
} }
sha256_Init(&ctx); sha256_Init(&ctx);

View File

@ -65,7 +65,7 @@ void layoutHome(void)
oledSwipeLeft(); oledSwipeLeft();
} }
layoutLast = layoutHome; layoutLast = layoutHome;
const char *label = storage_isInitialized() ? storage_getLabel() : "Go to mytrezor.com"; const char *label = storage_isInitialized() ? storage_getLabel() : "Go to trezor.io/start";
const uint8_t *homescreen = storage_getHomescreen(); const uint8_t *homescreen = storage_getHomescreen();
if (homescreen) { if (homescreen) {
BITMAP b; BITMAP b;