From b1d9a59a797076f36efe2ac3ddc7adf2cbdce56b Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 16 Oct 2017 21:02:21 +0200 Subject: [PATCH] unix: fix build --- embed/extmod/modtrezorio/unix-flash-mock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }