aboutsummaryrefslogtreecommitdiff
path: root/stm-sdram.c
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-06-08 18:46:06 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-06-08 18:46:06 +0200
commitb97ba86151439a187c047353dc75d3cf2020043d (patch)
tree0f2d45b32beee04a0546dd8b5288786d6ae2a47d /stm-sdram.c
parente1855dcbc60fe1fbc29a2d193ef6f5d87a7f6f51 (diff)
Test code for ks_flash in corresponding branch of libhal.
Diffstat (limited to 'stm-sdram.c')
-rw-r--r--stm-sdram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-sdram.c b/stm-sdram.c
index 0ec8065..22fd8ab 100644
--- a/stm-sdram.c
+++ b/stm-sdram.c
@@ -51,7 +51,7 @@ HAL_StatusTypeDef sdram_init(void)
static int initialized = 0;
if (initialized) {
- return;
+ return HAL_OK;
}
initialized = 1;