AP_IOMCU: change optimisation from -O3 to -O2

This commit is contained in:
Andrew Tridgell 2019-09-28 06:45:12 +10:00
parent 9c6a63b55b
commit 7c3df18ea3

View File

@ -32,7 +32,7 @@ extern const AP_HAL::HAL &hal;
// we build this file with optimisation to lower the interrupt
// latency. This helps reduce the chance of losing an RC input byte
// due to missing a UART interrupt
#pragma GCC optimize("O3")
#pragma GCC optimize("O2")
static AP_IOMCU_FW iomcu;