mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_DAL: use MAX_EKF_CORES instead of INS_MAX_INSTANCES in ekf_low_time_remaining
This commit is contained in:
parent
f3dc4216d2
commit
14ae431056
@ -303,7 +303,7 @@ void AP_DAL::WriteLogMessage(enum LogMessages msg_type, void *msg, const void *o
|
||||
*/
|
||||
bool AP_DAL::ekf_low_time_remaining(EKFType etype, uint8_t core)
|
||||
{
|
||||
static_assert(INS_MAX_INSTANCES <= 4, "max 4 IMUs");
|
||||
static_assert(MAX_EKF_CORES <= 4, "max 4 EKF cores supported");
|
||||
const uint8_t mask = (1U<<(core+(uint8_t(etype)*4)));
|
||||
#if !APM_BUILD_TYPE(APM_BUILD_AP_DAL_Standalone) && !APM_BUILD_TYPE(APM_BUILD_Replay)
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user