mirror of https://github.com/ArduPilot/ardupilot
AP_Rally: omit code that breaks build for herepro
This commit is contained in:
parent
503a676e44
commit
1ffc18006b
|
@ -6,6 +6,7 @@
|
||||||
#include <AP_Logger/AP_Logger.h>
|
#include <AP_Logger/AP_Logger.h>
|
||||||
#include <StorageManager/StorageManager.h>
|
#include <StorageManager/StorageManager.h>
|
||||||
|
|
||||||
|
#if HAL_RALLY_ENABLED
|
||||||
// storage object
|
// storage object
|
||||||
StorageAccess AP_Rally::_storage(StorageManager::StorageRally);
|
StorageAccess AP_Rally::_storage(StorageManager::StorageRally);
|
||||||
|
|
||||||
|
@ -199,3 +200,4 @@ AP_Rally *rally()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif //HAL_RALLY_ENABLED
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
#ifndef HAL_RALLY_ENABLED
|
#ifndef HAL_RALLY_ENABLED
|
||||||
#define HAL_RALLY_ENABLED 1
|
#define HAL_RALLY_ENABLED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue