Rev 2102 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2102 | Rev 2103 | ||
---|---|---|---|
1 | #include "controlMixer.h" |
1 | #include "controlMixer.h" |
2 | #include "timer0.h" |
2 | #include "timer0.h" |
3 | #include "configuration.h" |
3 | #include "configuration.h" |
4 | #include "flight.h" |
4 | #include "flight.h" |
5 | #include "output.h" |
5 | #include "output.h" |
6 | 6 | ||
7 | void FC_periodicTaskAndPRTY(uint16_t* PRTY) { |
7 | void FC_periodicTaskAndPRYT(uint16_t* PRYT) { |
8 | if (controlMixer_getSignalQuality() <= SIGNAL_BAD) { // the rc-frame signal is not reveived or noisy |
8 | if (controlMixer_getSignalQuality() <= SIGNAL_BAD) { // the rc-frame signal is not reveived or noisy |
9 | if (controlMixer_didReceiveSignal) { |
9 | if (controlMixer_didReceiveSignal) { |
10 | beepRCAlarm(); // Only make alarm if a control signal was received before the signal loss. |
10 | beepRCAlarm(); // Only make alarm if a control signal was received before the signal loss. |
11 | } |
11 | } |
12 | } |
12 | } |
13 | } |
13 | } |
14 | 14 | ||
15 | void FC_setNeutral() { |
15 | void FC_setNeutral(void) { |
16 | } |
16 | } |
17 | 17 |