mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-09 06:02:40 +00:00
mytrezor.com -> trezor.io/start
This commit is contained in:
parent
1e297c68fa
commit
ab006262e8
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user