ekf2: add new kconfig option for multi-EKF

- disabled if flash constrained or memory constrained
This commit is contained in:
Daniel Agar
2023-03-15 09:32:47 -04:00
parent 19a2b4ec31
commit f0a95f9572
4 changed files with 35 additions and 15 deletions
+2
View File
@@ -125,7 +125,9 @@ public:
static bool trylock_module() { return (pthread_mutex_trylock(&ekf2_module_mutex) == 0); }
static void unlock_module() { pthread_mutex_unlock(&ekf2_module_mutex); }
#if defined(CONFIG_EKF2_MULTI_INSTANCE)
bool multi_init(int imu, int mag);
#endif // CONFIG_EKF2_MULTI_INSTANCE
int instance() const { return _instance; }