Rev 2541 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2541 | Rev 2543 | ||
---|---|---|---|
Line 387... | Line 387... | ||
387 | if(!UpdateMotor) |
387 | if(!UpdateMotor) |
388 | { |
388 | { |
389 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
389 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
390 | if(NewSBusData) ProcessSBus(); |
390 | if(NewSBusData) ProcessSBus(); |
391 | else |
391 | else |
- | 392 | if(NewMlinkData) ProcessMlinkData(); |
|
- | 393 | else |
|
392 | #endif |
394 | #endif |
393 | { |
395 | { |
394 | if(BytegapSPI == 0) SPI_TransmitByte(); |
396 | if(BytegapSPI == 0) SPI_TransmitByte(); |
395 | if(CalculateServoSignals) CalculateServo(); |
397 | if(CalculateServoSignals) CalculateServo(); |
396 | DatenUebertragung(); |
398 | DatenUebertragung(); |