Subversion Repositories FlightCtrl

Rev

Rev 2102 | 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
 
2103 - 7
void FC_periodicTaskAndPRYT(uint16_t* PRYT) {
2101 - 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
 
2103 - 15
void FC_setNeutral(void) {
2101 - 16
}