Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2123 → Rev 2124

/branches/dongfang_FC_fixedwing/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);