Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1616 → Rev 1645

/branches/dongfang_FC_rewrite/control.h
1,6 → 1,6
/*#######################################################################################
Stick control interface
#######################################################################################*/
/*********************************************************************************/
/* Stick control interface */
/*********************************************************************************/
/*
OBSOLETED BY controlMixer.h. But this is how it looked - maybe somebody will find it simpler?
 
8,13 → 8,13
#define _CONTROL_H
 
#include <inttypes.h>
#define STICK_GAIN 4
#define CONTROL_SCALING 4
 
// defines for lookup staticParams.ChannelAssignment
#define CH_PITCH 0
#define CH_ROLL 1
#define CH_THROTTLE 2
#define CH_YAW 3
#define CH_ROLL 1
#define CH_THROTTLE 2
#define CH_YAW 3
#define CH_POTS 4
#define POT_OFFSET 110