AP_NavEKF: disable warnings on clang

This commit is contained in:
Andy Piper 2022-01-25 21:16:55 +01:00 committed by Andrew Tridgell
parent 5db5bbfbb3
commit 9084d19273
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ protected:
}
};
#if HAL_WITH_EKF_DOUBLE
#if HAL_WITH_EKF_DOUBLE && !defined(__clang__)
// stack frames are larger with double EKF
#if MATH_CHECK_INDEXES
#pragma GCC diagnostic error "-Wframe-larger-than=4000"