[Companion] Compilation fix

This commit is contained in:
Bertrand Songis
2017-01-24 22:06:28 +01:00
parent 57aafeb062
commit de49d155c6
39 changed files with 461 additions and 452 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ void saveModel(ModelData & m, model & xm)
phases::phase_sequence & phases_sequence (xphases.phase());
for (int i=0; i<CPN_MAX_FLIGHT_MODES; i++) {
FlightModeData & p = m.flightModeData[i];
if (i == 0 || p.swtch.type!=SWITCH_TYPE_NONE) {
if (i == 0 || p.swtch.type!=Board::SWITCH_TYPE_NONE) {
TrimType xtrim[4];
for (int j=0; j<4; j++) {
if (m.flightModeData[i].trimRef[j] >= 0)