Rev 1636 | Rev 1639 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1636 | Rev 1638 | ||
---|---|---|---|
Line 179... | Line 179... | ||
179 | while(!UpdateMotor); |
179 | while(!UpdateMotor); |
180 | if(Mixer.Motor[i][0] > 0) // wait max 4 sec for the BL-Ctrls to wake up |
180 | if(Mixer.Motor[i][0] > 0) // wait max 4 sec for the BL-Ctrls to wake up |
181 | { |
181 | { |
182 | while(!CheckDelay(timer) && !(Motor[i].State & MOTOR_STATE_PRESENT_MASK) ) {UpdateMotor = 0; SendMotorData(); while(!UpdateMotor);}; |
182 | while(!CheckDelay(timer) && !(Motor[i].State & MOTOR_STATE_PRESENT_MASK) ) {UpdateMotor = 0; SendMotorData(); while(!UpdateMotor);}; |
183 | } |
183 | } |
184 | if(Motor[i].State & MOTOR_STATE_PRESENT_MASK) printf("%d ",i+1); |
184 | if(Motor[i].State & MOTOR_STATE_PRESENT_MASK) |
- | 185 | { |
|
- | 186 | printf("%d",i+1); |
|
- | 187 | if(Motor[i].Version & MOTOR_STATE_NEW_PROTOCOL_MASK) printf("(new) "); else printf(" "); |
|
- | 188 | } |
|
185 | } |
189 | } |
186 | for(i=0; i < MAX_MOTORS; i++) |
190 | for(i=0; i < MAX_MOTORS; i++) |
187 | { |
191 | { |
188 | if(!(Motor[i].State & MOTOR_STATE_PRESENT_MASK) && Mixer.Motor[i][0] > 0) |
192 | if(!(Motor[i].State & MOTOR_STATE_PRESENT_MASK) && Mixer.Motor[i][0] > 0) |
189 | { |
193 | { |
Line 220... | Line 224... | ||
220 | FlugMinuten = 0; |
224 | FlugMinuten = 0; |
221 | FlugMinutenGesamt = 0; |
225 | FlugMinutenGesamt = 0; |
222 | } |
226 | } |
223 | printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt); |
227 | printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt); |
Line 224... | Line -... | ||
224 | - | ||
225 | 228 | ||
226 | printf("\n\rControl: "); |
229 | printf("\n\rControl: "); |
227 | if (EE_Parameter.GlobalConfig & CFG_HEADING_HOLD) printf("HeadingHold"); |
230 | if (EE_Parameter.GlobalConfig & CFG_HEADING_HOLD) printf("HeadingHold"); |
Line 228... | Line 231... | ||
228 | else printf("Normal (ACC-Mode)"); |
231 | else printf("Normal (ACC-Mode)"); |