Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1739 → Rev 1749

/branches/MartinW_Jeti+/main.c
83,7 → 83,7
{
#define MAX_CELL_VOLTAGE 43 // max cell volatage for LiPO
unsigned int timer, cells;
if(print) printf("\n\rBatt:");
if(print) printf("\n\rBat:");
if(EE_Parameter.UnterspannungsWarnung < 50) // automatische Zellenerkennung
{
timer = SetDelay(500);
200,7 → 200,7
}
Motor[i].State &= ~MOTOR_STATE_ERROR_MASK; // clear error counter
}
printf("\n\r===================================");
printf("\n\r=");///
 
if(RequiredMotors < FoundMotors) VersionInfo.HardwareError[1] |= DEFEKT_MIXER_ERR;
 
229,13 → 229,16
FlugMinuten = 0;
FlugMinutenGesamt = 0;
}
printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt);
printf("\n\rFlight-time %u min T:%u min", FlugMinuten, FlugMinutenGesamt);
 
printf("\n\rControl: ");
if (EE_Parameter.GlobalConfig & CFG_HEADING_HOLD) printf("HeadingHold");
else printf("Normal (ACC-Mode)");
#ifdef NODISPLAY // main.h
 
#warning : "### no MKTool Display ###"
LcdClear();
#endif
I2CTimeout = 5000;
WinkelOut.Orientation = 1;
LipoDetection(1);
242,7 → 245,7
 
LIBFC_ReceiverInit(EE_Parameter.Receiver);
 
printf("\n\r===================================\n\r");
printf("\n\r=\n\r");///
//SpektrumBinding();
timer = SetDelay(2000);
timerPolling = SetDelay(250);