Subversion Repositories FlightCtrl

Rev

Rev 2102 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2102 Rev 2103
Line 2... Line 2...
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"
Line 6... Line 6...
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
  }
Line 13... Line 13...
13
}
13
}
14
 
14