diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-24 00:01:23 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-24 00:01:23 +0200 |
commit | 62e07358b471df173e1a17fb8cc31b19ece38c55 (patch) | |
tree | bddc3fcd3ecc446dc8a321af3333c4fef0578362 /apps/uORB/topics/rc_channels.h | |
parent | b07de1379d1636847148e3052c055c9396ef8f4f (diff) | |
download | px4-firmware-62e07358b471df173e1a17fb8cc31b19ece38c55.tar.gz px4-firmware-62e07358b471df173e1a17fb8cc31b19ece38c55.tar.bz2 px4-firmware-62e07358b471df173e1a17fb8cc31b19ece38c55.zip |
Ported almost everything to new param interface, ready for serious testing
Diffstat (limited to 'apps/uORB/topics/rc_channels.h')
-rw-r--r-- | apps/uORB/topics/rc_channels.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/uORB/topics/rc_channels.h b/apps/uORB/topics/rc_channels.h index 5bd2adeec..28cc5d7c4 100644 --- a/apps/uORB/topics/rc_channels.h +++ b/apps/uORB/topics/rc_channels.h @@ -62,11 +62,6 @@ enum RC_CHANNELS_STATUS * This defines the mapping of the RC functions. * The value assigned to the specific function corresponds to the entry of * the channel array chan[]. - * Ex. To read out the scaled Pitch value: - * pitch = global_data_rc_channels->chan[PITCH].scale; - * The override is on channel 8, since we don't usually have a 12 channel RC - * and channel 5/6 (GRAUPNER/FUTABA) are mapped to the second ROLL servo, which - * can only be disabled on more advanced RC sets. */ enum RC_CHANNELS_FUNCTION { @@ -98,7 +93,7 @@ struct rc_channels_s { uint16_t override; enum RC_CHANNELS_STATUS status; /**< status of the channel */ } chan[RC_CHANNELS_FUNCTION_MAX]; - uint8_t chan_count; /**< maximum number of valid channels */ + uint8_t chan_count; /**< maximum number of valid channels */ /*String array to store the names of the functions*/ const char function_name[RC_CHANNELS_FUNCTION_MAX][20]; |