AP_NavEKF: larger frame limit for --enable-math-check-indexes
This commit is contained in:
parent
31a6663797
commit
338ab28dea
@ -58,6 +58,10 @@ protected:
|
||||
|
||||
#if HAL_WITH_EKF_DOUBLE
|
||||
// stack frames are larger with double EKF
|
||||
#if MATH_CHECK_INDEXES
|
||||
#pragma GCC diagnostic error "-Wframe-larger-than=4000"
|
||||
#else
|
||||
#pragma GCC diagnostic error "-Wframe-larger-than=2100"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user