From fc29df6f874efa649bc3520c247b2169ffb563bf Mon Sep 17 00:00:00 2001 From: andrew Date: Mon, 28 Jan 2019 16:24:48 +0100 Subject: [PATCH] Rename flash_erase_sector() to flash_erase() to resolve name collision with libopencm3 in trezor-mcu. --- norcow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/norcow.c b/norcow.c index a12686ab9..f2f2487e9 100644 --- a/norcow.c +++ b/norcow.c @@ -114,7 +114,7 @@ static void erase_sector(uint8_t sector, secbool set_magic) memcpy(header_backup, sector_start, sizeof(header_backup)); #endif - ensure(flash_erase_sector(norcow_sectors[sector]), "erase failed"); + ensure(flash_erase(norcow_sectors[sector]), "erase failed"); #if NORCOW_HEADER_LEN > 0 // Copy the sector header back.