|
|
|
@ -58,7 +58,6 @@ void AP_DAL::start_frame(AP_DAL::FrameType frametype)
@@ -58,7 +58,6 @@ void AP_DAL::start_frame(AP_DAL::FrameType frametype)
|
|
|
|
|
_RFRN.lat = _home.lat; |
|
|
|
|
_RFRN.lng = _home.lng; |
|
|
|
|
_RFRN.alt = _home.alt; |
|
|
|
|
_RFRN.get_compass_is_null = AP::ahrs().get_compass() == nullptr; |
|
|
|
|
_RFRN.EAS2TAS = AP::baro().get_EAS2TAS(); |
|
|
|
|
_RFRN.vehicle_class = ahrs.get_vehicle_class(); |
|
|
|
|
_RFRN.fly_forward = ahrs.get_fly_forward(); |
|
|
|
@ -257,15 +256,6 @@ void *AP_DAL::malloc_type(size_t size, Memory_Type mem_type) const
@@ -257,15 +256,6 @@ void *AP_DAL::malloc_type(size_t size, Memory_Type mem_type) const
|
|
|
|
|
return hal.util->malloc_type(size, AP_HAL::Util::Memory_Type(mem_type)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const AP_DAL_Compass *AP_DAL::get_compass() const |
|
|
|
|
{ |
|
|
|
|
if (_RFRN.get_compass_is_null) { |
|
|
|
|
return nullptr; |
|
|
|
|
} |
|
|
|
|
return &_compass; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// map core number for replay
|
|
|
|
|
uint8_t AP_DAL::logging_core(uint8_t c) const |
|
|
|
|
{ |
|
|
|
|