aboutsummaryrefslogtreecommitdiff
path: root/stm-sdram.c
diff options
context:
space:
mode:
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;