AP_SmartRTL: fixed build warning on gcc9

this example produces a slightly oversize frame
This commit is contained in:
Andrew Tridgell 2020-09-21 11:06:45 +10:00
parent 90cd2a38b6
commit 1000371d8a
1 changed files with 3 additions and 0 deletions

View File

@ -129,4 +129,7 @@ void check_path(const std::vector<Vector3f>& correct_path, const char* test_name
}
}
// gcc9 produces a large frame
#pragma GCC diagnostic ignored "-Wframe-larger-than="
AP_HAL_MAIN();