122,6 → 122,7 |
u8 ErrorOutSideOperationArea = 0; // I am outside the operation polygon area |
u32 ShowNoFlyzoneErrorMessage = 0; |
u8 ShowCalibrationErrorMessage = 0; |
u8 TryAgain_UBX_Setup = 0; |
//---------------------------------------------------------------------------------------------------- |
void SCU_Config(void) |
{ |
652,6 → 653,8 |
else |
if(FC_Temperatur < FC_Temperatur_raw/10) FC_Temperatur++; |
} |
if(TryAgain_UBX_Setup) { if(--TryAgain_UBX_Setup == 0) UBX_Setup();} |
|
} |
// ++++++++++++++++++++++++++++++++++++++++++++++++ |
// ---------------- Error Check Timing ---------------------------- |
791,7 → 794,14 |
LED_RED_ON; |
} |
#endif |
if(UBX_Setup() == 0) UBX_Setup(); // inits the GPS-Module via ubx -> try twice // Achtung: muss nach FC-Versions check |
if(UBX_Setup() == 0) // Achtung: muss nach FC-Versions check |
{ |
if(UBX_Setup() == 0) // inits the GPS-Module via ubx -> try twice |
{ |
if(IamMaster == SLAVE) TryAgain_UBX_Setup = 2; |
else TryAgain_UBX_Setup = 4; |
} |
} |
// +++++++++++++++++++++++++++++++++++++++ |
// ++ check CamCtrl version (if connected) |
if(Compass_I2CPort == NCMAG_PORT_INTERN) |