AP_Module: fix example

This commit is contained in:
Pierre Kancir 2021-02-09 15:09:51 +01:00 committed by Andrew Tridgell
parent 67540dc5bb
commit 8b1d35bc76

View File

@ -17,7 +17,7 @@ const AP_HAL::HAL& hal = AP_HAL::get_HAL();
// sensor declaration // sensor declaration
static AP_InertialSensor ins; static AP_InertialSensor ins;
#if HAL_EXTERNAL_AHRS_ENABLED #if HAL_EXTERNAL_AHRS_ENABLED
static AP_ExternalAHRS eAHRS; static AP_ExternalAHRS eAHRS;
#endif // HAL_EXTERNAL_AHRS_ENABLED #endif // HAL_EXTERNAL_AHRS_ENABLED
static AP_GPS gps; static AP_GPS gps;
static AP_Baro baro; static AP_Baro baro;