1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-22 15:59:35 +00:00

fix(core): fix interaction-less update

[no changelog]
This commit is contained in:
cepetr 2024-10-01 08:00:59 +02:00 committed by cepetr
parent 51b703cb1a
commit e6bda579b1

View File

@ -87,7 +87,7 @@ void reboot_to_bootloader(void) {
}
void reboot_and_upgrade(const uint8_t hash[32]) {
syscall_invoke1(SYSCALL_REBOOT_AND_UPGRADE, (uint32_t)hash);
syscall_invoke1((uint32_t)hash, SYSCALL_REBOOT_AND_UPGRADE);
while (1)
;
}