AP_NavEKF: larger frame limit for --enable-math-check-indexes

This commit is contained in:
Andrew Tridgell 2021-07-08 14:56:08 +10:00
parent 31a6663797
commit 338ab28dea

View File

@ -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