Subversion Repositories FlightCtrl

Rev

Rev 2373 | Rev 2386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2373 Rev 2380
Line 208... Line 208...
208
                }
208
                }
209
                if(Motor[i].State & MOTOR_STATE_PRESENT_MASK)
209
                if(Motor[i].State & MOTOR_STATE_PRESENT_MASK)
210
                {
210
                {
211
                        printf("%d",i+1);
211
                        printf("%d",i+1);
212
                        FoundMotors++;
212
                        FoundMotors++;
-
 
213
//                      if(Motor[i].Version & MOTOR_STATE_FAST_MODE) printf("(fast)\n\r");
213
//                      if(Motor[i].Version & MOTOR_STATE_NEW_PROTOCOL_MASK) printf("(new) ");
214
//                      else if(Motor[i].Version & MOTOR_STATE_NEW_PROTOCOL_MASK) printf("(new)\n\r");
214
                }
215
                }
215
        }
216
        }
216
        for(i=0; i < MAX_MOTORS; i++)
217
        for(i=0; i < MAX_MOTORS; i++)
217
        {
218
        {
218
                if(!(Motor[i].State & MOTOR_STATE_PRESENT_MASK) && Mixer.Motor[i][0] > 0)
219
                if(!(Motor[i].State & MOTOR_STATE_PRESENT_MASK) && Mixer.Motor[i][0] > 0)