Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1793 → Rev 1799

/branches/v0.82a MartinW_Jeti+/main.c
50,8 → 50,8
// + POSSIBILITY OF SUCH DAMAGE.
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#include "main.h"
//MartinW MaxSize is 63488 bytes
 
 
unsigned char PlatinenVersion = 10;
unsigned char SendVersionToNavi = 1;
unsigned char BattLowVoltageWarning = 94;
102,7 → 102,7
}
}
else BattLowVoltageWarning = EE_Parameter.UnterspannungsWarnung;
if(print) printf(" Low warning level: %d.%d",BattLowVoltageWarning/10,BattLowVoltageWarning%10);
if(print) printf("Low warning level: %d.%d",BattLowVoltageWarning/10,BattLowVoltageWarning%10);
}
 
//############################################################################
170,7 → 170,7
timer = SetDelay(500);
while(!(BLFlags & BLFLAG_TX_COMPLETE) && !CheckDelay(timer)); //wait for complete transfer
 
printf("\n\rFound BL-Ctrl: ");
printf("\n\rFound BLC: "); ///
timer = SetDelay(4000);
for(i=0; i < MAX_MOTORS; i++)
{
195,12 → 195,12
{
if(!(Motor[i].State & MOTOR_STATE_PRESENT_MASK) && Mixer.Motor[i][0] > 0)
{
printf("\n\r\n\r!! MISSING BL-CTRL: %d !!",i+1);
printf("\n\r\n\r! MISSING BL-CTRL: %d !",i+1);///
ServoActive = 2; // just in case the FC would be used as camera-stabilizer
}
Motor[i].State &= ~MOTOR_STATE_ERROR_MASK; // clear error counter
}
printf("\n\r===================================");
printf("\n\r="); //MartinW; removed =
 
if(RequiredMotors < FoundMotors) VersionInfo.HardwareError[1] |= FC_ERROR1_MIXER;
 
229,13 → 229,18
FlugMinuten = 0;
FlugMinutenGesamt = 0;
}
printf("\n\rFlight-time %u min Total:%u min", FlugMinuten, FlugMinutenGesamt);
printf("\n\rFlighttime %u min Total:%u min", FlugMinuten, FlugMinutenGesamt);///
 
printf("\n\rControl: ");
if (EE_Parameter.GlobalConfig & CFG_HEADING_HOLD) printf("HeadingHold");
else printf("Normal (ACC-Mode)");
#ifdef NODISPLAY // MartinW; for no MKT Display main.h
 
#warning : "### no MKTool Display ###"
LcdClear();
#endif
I2CTimeout = 5000;
WinkelOut.Orientation = 1;
LipoDetection(1);
242,7 → 247,7
 
LIBFC_ReceiverInit(EE_Parameter.Receiver);
 
printf("\n\r===================================\n\r");
printf("\n\r=\n\r");/// Martinw; removed =
//SpektrumBinding();
timer = SetDelay(2000);
timerPolling = SetDelay(250);