From 88971a15a5bf999bfba31b622c348016f1caa684 Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Tue, 14 Apr 2020 09:45:45 -0600 Subject: [PATCH] arch/arm/src/stm32f7/stm32_flash.c: Fix return value of stm32_flash_lock --- arch/arm/src/stm32f7/stm32_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32f7/stm32_flash.c b/arch/arm/src/stm32f7/stm32_flash.c index 6268ecff6b..2b8fdbc8c0 100644 --- a/arch/arm/src/stm32f7/stm32_flash.c +++ b/arch/arm/src/stm32f7/stm32_flash.c @@ -138,7 +138,7 @@ int stm32_flash_unlock(void) return ret; } -void stm32_flash_lock(void) +int stm32_flash_lock(void) { int ret;