AP_Rally: omit code that breaks build for herepro

This commit is contained in:
Siddharth Purohit 2021-06-20 11:47:15 +05:30 committed by Andrew Tridgell
parent 503a676e44
commit 1ffc18006b
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include <AP_Logger/AP_Logger.h>
#include <StorageManager/StorageManager.h>
#if HAL_RALLY_ENABLED
// storage object
StorageAccess AP_Rally::_storage(StorageManager::StorageRally);
@ -199,3 +200,4 @@ AP_Rally *rally()
}
}
#endif //HAL_RALLY_ENABLED

View File

@ -14,6 +14,8 @@
*/
#pragma once
#include <AP_HAL/AP_HAL.h>
#ifndef HAL_RALLY_ENABLED
#define HAL_RALLY_ENABLED 1
#endif