summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/rolo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index faceef360a..37834b3f1e 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -33,6 +33,7 @@
#include "adc.h"
#include "string.h"
#include "buffer.h"
+#include "storage.h"
#include "rolo.h"
#ifdef MI4_FORMAT
@@ -363,6 +364,9 @@ int rolo_load(const char* filename)
PAIOR = 0x0FA0;
#endif
#endif
+#ifdef HAVE_STORAGE_FLUSH
+ storage_flush();
+#endif
rolo_restart(audiobuf, ramstart, length);
return 0; /* this is never reached */