From a4a5f5f33fd79ed625c280ac779f41d547846fe8 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 4 Mar 2021 09:16:13 -0500 Subject: Check core max allocations for valid handle fix rolo warnings Change-Id: Ia2c669a5517aec54e5b2c0dc5934c88a4f49f2a9 --- firmware/rolo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/rolo.c') diff --git a/firmware/rolo.c b/firmware/rolo.c index f4db832b2b..f1bcd0718e 100644 --- a/firmware/rolo.c +++ b/firmware/rolo.c @@ -244,7 +244,7 @@ int rolo_load(const char* filename) rolo_handle = core_alloc_maximum("rolo", &filebuf_size, NULL); if (rolo_handle < 0) { - splash(HZ, "Rolo Failed - OOM"); + rolo_error("OOM"); return -1; } -- cgit v1.2.3