mirror of https://github.com/ArduPilot/ardupilot
APM_Control: avoid use of AP_Logger.h in library headers
this pulls in many more headers, we should avoid using it whereever we can
This commit is contained in:
parent
6cfecaa86d
commit
4e623bd384
|
@ -250,7 +250,7 @@ void AP_AutoTune::update(AP_PIDInfo &pinfo, float scaler, float angle_err_deg)
|
|||
#if HAL_LOGGING_ENABLED
|
||||
if (now - last_log_ms >= 40) {
|
||||
// log at 25Hz
|
||||
struct log_ATRP pkt = {
|
||||
const struct log_ATRP pkt {
|
||||
LOG_PACKET_HEADER_INIT(LOG_ATRP_MSG),
|
||||
time_us : AP_HAL::micros64(),
|
||||
type : uint8_t(type),
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include <AP_Logger/AP_Logger.h>
|
||||
#include <AP_Logger/LogStructure.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
#include <AP_Vehicle/AP_FixedWing.h>
|
||||
|
|
Loading…
Reference in New Issue