SITL: fixed RealFlight RPM

This commit is contained in:
Andrew Tridgell 2023-02-04 09:43:33 +11:00 committed by Bill Geyer
parent 60940593ee
commit 000c39ed27

View File

@ -511,6 +511,7 @@ void FlightAxis::update(const struct sitl_input &input)
battery_current = MAX(state.m_batteryCurrentDraw_AMPS, 0);
rpm[0] = state.m_heliMainRotorRPM;
rpm[1] = state.m_propRPM;
motor_mask = 3;
/*
the interlink interface supports 12 input channels