summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/rolo.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 50f3d68183..5cc4f1d212 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -243,6 +243,12 @@ int rolo_load(const char* filename)
243 /* get the system buffer. release only in case of error, otherwise 243 /* get the system buffer. release only in case of error, otherwise
244 * we don't return anyway */ 244 * we don't return anyway */
245 rolo_handle = core_alloc_maximum("rolo", &filebuf_size, NULL); 245 rolo_handle = core_alloc_maximum("rolo", &filebuf_size, NULL);
246 if (rolo_handle < 0)
247 {
248 splash(HZ, "Rolo Failed - OOM");
249 return -1;
250 }
251
246 filebuf = core_get_data(rolo_handle); 252 filebuf = core_get_data(rolo_handle);
247 253
248 err = LOAD_FIRMWARE(filebuf, filename, filebuf_size); 254 err = LOAD_FIRMWARE(filebuf, filename, filebuf_size);