Browse Source

Copter: log_Heli is only used with FRAME_CONFIG as HELI_FRAME

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
c415-sdk
Patrick José Pereira 5 years ago committed by Andrew Tridgell
parent
commit
7bfcec2fc1
  1. 2
      ArduCopter/Log.cpp

2
ArduCopter/Log.cpp

@ -339,6 +339,7 @@ void Copter::Log_Write_SysID_Setup(uint8_t systemID_axis, float waveform_magnitu
#endif #endif
} }
#if FRAME_CONFIG == HELI_FRAME
struct PACKED log_Heli { struct PACKED log_Heli {
LOG_PACKET_HEADER; LOG_PACKET_HEADER;
uint64_t time_us; uint64_t time_us;
@ -348,7 +349,6 @@ struct PACKED log_Heli {
float control_output; float control_output;
}; };
#if FRAME_CONFIG == HELI_FRAME
// Write an helicopter packet // Write an helicopter packet
void Copter::Log_Write_Heli() void Copter::Log_Write_Heli()
{ {

Loading…
Cancel
Save