Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2131 → Rev 2132

/branches/dongfang_FC_fixedwing/arduino_atmega328/rc.h
4,9 → 4,6
#include <inttypes.h>
#include "configuration.h"
 
// Number of cycles a command must be repeated before commit.
#define COMMAND_TIMER 200
 
extern void RC_Init(void);
// the RC-Signal. todo: Not export any more.
extern volatile int16_t PPM_in[MAX_CHANNELS];
22,6 → 19,10
#define CH_MODESWITCH 4
#define CH_POTS 4
 
// Number of cycles a command must be repeated before commit.
#define COMMAND_TIMER 200
#define COMMAND_CHANNEL_HORIZONTAL CH_AILERONS
 
// void RC_periodicTask(void);
void RC_periodicTaskAndPRYT(int16_t* PRYT);
uint8_t RC_getArgument(void);
29,8 → 30,7
int16_t RC_getVariable(uint8_t varNum);
void RC_calibrate(void);
uint8_t RC_getSignalQuality(void);
uint8_t RC_getLooping(uint8_t looping);
#ifdef USE_MK3MAG
uint8_t RC_testCompassCalState(void);
#endif
int16_t RC_getZeroThrottle(void);
void RC_setZeroTrim(void);
 
#endif //_RC_H