You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/04/14 16:34:53 UTC

[incubator-nuttx] branch master updated: arch/arm/src/stm32f7/stm32_flash.c: Fix return value of stm32_flash_lock

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 88971a1  arch/arm/src/stm32f7/stm32_flash.c:  Fix return value of stm32_flash_lock
88971a1 is described below

commit 88971a15a5bf999bfba31b622c348016f1caa684
Author: Juha Niskanen <ju...@haltian.com>
AuthorDate: Tue Apr 14 09:45:45 2020 -0600

    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 6268ecf..2b8fdbc 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;