Browse Source

AP_SmartRTL: fixed build warning on gcc9

this example produces a slightly oversize frame
c415-sdk
Andrew Tridgell 4 years ago
parent
commit
1000371d8a
  1. 3
      libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp

3
libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp

@ -129,4 +129,7 @@ void check_path(const std::vector<Vector3f>& correct_path, const char* test_name @@ -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();

Loading…
Cancel
Save