Rev 2447 | Rev 2466 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2447 | Rev 2462 | ||
---|---|---|---|
Line 198... | Line 198... | ||
198 | ParamSet_Init(); |
198 | ParamSet_Init(); |
199 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
199 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
200 | if(PlatinenVersion < 20) |
200 | if(PlatinenVersion < 20) |
201 | { |
201 | { |
202 | wdt_enable(WDTO_250MS); // Reset-Commando |
202 | wdt_enable(WDTO_250MS); // Reset-Commando |
203 | while(1) printf("\n\rOld FC Hardware not supported by this Frimware!"); |
203 | while(1) printf("\n\rOld FC Hardware not supported by this Firmware!"); |
204 | } |
204 | } |
205 | #ifndef REDUNDANT_FC_SLAVE |
205 | #ifndef REDUNDANT_FC_SLAVE |
206 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
206 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
207 | // + Check connected BL-Ctrls |
207 | // + Check connected BL-Ctrls |
208 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
208 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
Line 246... | Line 246... | ||
246 | } |
246 | } |
247 | PrintLine();// ("\n\r==================================="); |
247 | PrintLine();// ("\n\r==================================="); |
248 | if(RequiredMotors < FoundMotors) VersionInfo.HardwareError[1] |= FC_ERROR1_MIXER; |
248 | if(RequiredMotors < FoundMotors) VersionInfo.HardwareError[1] |= FC_ERROR1_MIXER; |
249 | if(RequiredMotors > 8) Max_I2C_Packets = 8; else Max_I2C_Packets = RequiredMotors; |
249 | if(RequiredMotors > 8) Max_I2C_Packets = 8; else Max_I2C_Packets = RequiredMotors; |
250 | #else |
250 | #else |
251 | printf("\n\r--> REDUNDANT SLAVE <---"); |
251 | printf("\n\r\n\r--> REDUNDANT SLAVE <---\n\r"); |
252 | #endif |
252 | #endif |
Line 253... | Line 253... | ||
253 | 253 | ||
254 | #ifdef REDUNDANT_FC_MASTER |
254 | #ifdef REDUNDANT_FC_MASTER |
255 | printf("\n\r--> REDUNDANT MASTER <---"); |
255 | printf("\n\r\n\r--> REDUNDANT MASTER <---\n\r"); |
Line 256... | Line 256... | ||
256 | #endif |
256 | #endif |
257 | 257 | ||
258 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
258 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
Line 303... | Line 303... | ||
303 | //printf("\n\rEE_Parameter size:%i\n\r", PARAMSET_STRUCT_LEN); |
303 | //printf("\n\rEE_Parameter size:%i\n\r", PARAMSET_STRUCT_LEN); |
Line 304... | Line 304... | ||
304 | 304 | ||
305 | DebugOut.Status[0] = 0x01 | 0x02; |
305 | DebugOut.Status[0] = 0x01 | 0x02; |
306 | JetiBeep = 0; |
306 | JetiBeep = 0; |
- | 307 | if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING) DisableRcOffBeeping = 1; |
|
- | 308 | #ifdef REDUNDANT_FC_SLAVE |
|
- | 309 | timer = SetDelay(2500); |
|
- | 310 | while(!CheckDelay(timer)); |
|
- | 311 | printf("\n\rStart\n\r"); |
|
307 | if(EE_Parameter.ExtraConfig & CFG_NO_RCOFF_BEEPING) DisableRcOffBeeping = 1; |
312 | #endif |
308 | while(1) |
313 | while(1) |
309 | { |
314 | { |
310 | EEAR = EE_DUMMY; // Set the EEPROM Address pointer to an unused space |
315 | EEAR = EE_DUMMY; // Set the EEPROM Address pointer to an unused space |
311 | if(ReceiverUpdateModeActive) while (1) PORTC &= ~(1<<7); // Beeper off |
316 | if(ReceiverUpdateModeActive) while (1) PORTC &= ~(1<<7); // Beeper off |