Subversion Repositories FlightCtrl

Rev

Rev 2101 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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