SITL: make heli RPM rpm1 in FlightAxis

This commit is contained in:
Andrew Tridgell 2016-06-04 18:32:15 +10:00
parent f58d837026
commit 9e9a048016

View File

@ -319,8 +319,8 @@ void FlightAxis::update(const struct sitl_input &input)
battery_voltage = state.m_batteryVoltage_VOLTS;
battery_current = state.m_batteryCurrentDraw_AMPS;
rpm1 = state.m_propRPM;
rpm2 = state.m_heliMainRotorRPM;
rpm1 = state.m_heliMainRotorRPM;
rpm2 = state.m_propRPM;
/*
the interlink interface supports 8 input channels