AP_Radio: fixed optimisation of AP_Radio drivers
This commit is contained in:
parent
e55d3a0834
commit
5f29524a41
@ -5,7 +5,7 @@
|
||||
*/
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#pragma GCC optimize("O0")
|
||||
// #pragma GCC optimize("O0")
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||
#ifdef HAL_RCINPUT_WITH_AP_RADIO
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "driver_cc2500.h"
|
||||
#include <utility>
|
||||
|
||||
#pragma GCC optimize("O0")
|
||||
// #pragma GCC optimize("O0")
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user