Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2108 - 1
#include "controlMixer.h"
2
#include "timer0.h"
3
#include "configuration.h"
4
#include "flight.h"
5
#include "output.h"
6
 
7
void FC_periodicTaskAndPRYT(uint16_t* PRYT) {
8
  if (controlMixer_getSignalQuality() <= SIGNAL_BAD) { // the rc-frame signal is not reveived or noisy
9
    if (controlMixer_didReceiveSignal) {
10
      beepRCAlarm(); // Only make alarm if a control signal was received before the signal loss.
11
    }
12
  }
13
}
14
 
15
void FC_setNeutral(void) {
16
}