Rev 1975 | Rev 2018 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1975 | Rev 1980 | ||
---|---|---|---|
Line 252... | Line 252... | ||
252 | SPI_TransmitByte(); |
252 | SPI_TransmitByte(); |
253 | } |
253 | } |
254 | #endif |
254 | #endif |
Line 255... | Line 255... | ||
255 | 255 | ||
- | 256 | calculateServoValues(); |
|
- | 257 | ||
- | 258 | if (runFlightControl) { // control interval |
|
- | 259 | debugOut.digital[1] |= DEBUG_MAINLOOP_TIMER; |
|
- | 260 | } else { |
|
- | 261 | debugOut.digital[1] &= ~DEBUG_MAINLOOP_TIMER; |
|
256 | calculateServoValues(); |
262 | } |
257 | } |
263 | } |
258 | } |
264 | } |
259 | return (1); |
265 | return (1); |