From 8dd40de9dc481277d15cf4f1ff707ad620ada7ed Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 27 Feb 2017 16:07:19 -0500 Subject: Track change to stm32 keystore API. --- ks_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ks_flash.c b/ks_flash.c index c0179ca..7a87d5c 100644 --- a/ks_flash.c +++ b/ks_flash.c @@ -455,7 +455,7 @@ static hal_error_t block_erase(const unsigned blockno) return HAL_ERROR_IMPOSSIBLE; /* Sigh, magic numeric return codes */ - if (keystore_erase_subsectors(blockno, blockno) != 1) + if (keystore_erase_subsector(blockno) != 1) return HAL_ERROR_KEYSTORE_ACCESS; return HAL_OK; -- cgit v1.2.3