aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/wirish.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/wirish.cpp')
-rw-r--r--wirish/wirish.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/wirish/wirish.cpp b/wirish/wirish.cpp
index 6d77bc8..c5a9e30 100644
--- a/wirish/wirish.cpp
+++ b/wirish/wirish.cpp
@@ -41,6 +41,7 @@
#include "fsmc.h"
#include "dac.h"
#include "flash.h"
+#include "native_sram.h"
void init(void) {
/* make sure the flash is ready before spinning the high speed clock up */
@@ -48,7 +49,7 @@ void init(void) {
flash_set_latency(FLASH_WAIT_STATE_2);
#ifdef BOARD_maple_native
- fsmc_native_sram_init();
+ initNativeSRAM();
#endif
/* initialize clocks */