From 6cfecaa86d03819d4c676cf974762f779e17cd44 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 31 Aug 2024 08:05:41 +1000 Subject: [PATCH] AP_NavEKF3: use enum class for DAL MemoryType --- libraries/AP_NavEKF3/AP_NavEKF3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_NavEKF3/AP_NavEKF3.cpp b/libraries/AP_NavEKF3/AP_NavEKF3.cpp index d62d52f2b4..fbf4796a67 100644 --- a/libraries/AP_NavEKF3/AP_NavEKF3.cpp +++ b/libraries/AP_NavEKF3/AP_NavEKF3.cpp @@ -816,7 +816,7 @@ bool NavEKF3::InitialiseFilter(void) } //try to allocate from CCM RAM, fallback to Normal RAM if not available or full - core = (NavEKF3_core*)dal.malloc_type(sizeof(NavEKF3_core)*num_cores, dal.MEM_FAST); + core = (NavEKF3_core*)dal.malloc_type(sizeof(NavEKF3_core)*num_cores, AP_DAL::MemoryType::FAST); if (core == nullptr) { _enable.set(0); num_cores = 0;