Issue 3473 port to next (#3587)

This commit is contained in:
Neil Horne
2016-06-12 10:49:59 +02:00
committed by Bertrand Songis
parent 13558214a8
commit dd12d09c92
4 changed files with 37 additions and 10 deletions
+8
View File
@@ -452,6 +452,14 @@ void modelDefault(uint8_t id)
}
#endif
#if defined(FLIGHT_MODES) && defined(ROTARY_ENCODERS)
for (int p=1; p<MAX_FLIGHT_MODES; p++) {
for (int i=0; i<ROTARY_ENCODERS; i++) {
g_model.flightModeData[p].rotaryEncoders[i] = ROTARY_ENCODER_MAX+1;
}
}
#endif
#if defined(MAVLINK)
g_model.mavlink.rc_rssi_scale = 15;
g_model.mavlink.pc_rssi_en = 1;