diff --git a/embed/extmod/modtrezorio/unix-flash-mock.h b/embed/extmod/modtrezorio/unix-flash-mock.h index 5e9c25d87..183223d40 100644 --- a/embed/extmod/modtrezorio/unix-flash-mock.h +++ b/embed/extmod/modtrezorio/unix-flash-mock.h @@ -26,7 +26,7 @@ bool flash_lock(void) return false; } -bool flash_erase_sectors(int start, int end, void (*progress)(uint16_t val)) +bool flash_erase_sectors(const uint8_t *sectors, int len, void (*progress)(int pos, int len)) { return false; }