diff --git a/src/main/io/serial_msp.c b/src/main/io/serial_msp.c index 7b06d90f11..510d788467 100755 --- a/src/main/io/serial_msp.c +++ b/src/main/io/serial_msp.c @@ -709,7 +709,9 @@ static bool processOutCommand(uint8_t cmdMSP) serialize16(0); #endif serialize16(sensors(SENSOR_ACC) | sensors(SENSOR_BARO) << 1 | sensors(SENSOR_MAG) << 2 | sensors(SENSOR_GPS) << 3 | sensors(SENSOR_SONAR) << 4); - // ?? + // Serialize the flags in the order we delivered them, ignoring BOXNAMES and BOXINDEXES + // Requires new Multiwii protocol version to fix + // It would be preferable to setting the enabled bits based on BOXINDEX. junk = 0; tmp = IS_ENABLED(FLIGHT_MODE(ANGLE_MODE)) << BOXANGLE | IS_ENABLED(FLIGHT_MODE(HORIZON_MODE)) << BOXHORIZON |