multiwii / baseflight

32 bit fork of the MultiWii RC flight controller firmware
496 stars 354 forks source link

adjustable RC & AUX channel counts, increased rssi_aux_channel limit #305

Closed csurf closed 8 years ago

csurf commented 8 years ago

added two new CLI var's for controlling the number of RC & AUX channels that are processed by the RC-handling code routines, 'rc_channel_count' and 'rc_aux_count'.

'rc_channel_count' sets the number of channels that are processed by the RC handling code & stored in the raw RC channel data array (based on the internal channel mapping scheme). range is (8...18), default is '8'.

'rc_aux_count' sets the number of channels that are processed by the AUX-handling code for dealing with flight mode switches. range is (4...8), default is '4'. NOTE: this must be set in accordance with 'rc_channel_count' value. Obviously, flight mode settings for any AUX channel '5&above' would need to be configured manually via the CLI, seeing as configurator only supports 4 AUX channels.

'rssi_aux_channel' range was expanded to allow for selection for a high AUX channel number, yet keeping it <= the 18 channel maximum.

ghost commented 8 years ago

Can one of the admins verify this patch?

trollcop commented 8 years ago

ok to test On Jan 2, 2016 3:04 PM, "baseflight-jenkins" notifications@github.com wrote:

Can one of the admins verify this patch?

— Reply to this email directly or view it on GitHub https://github.com/multiwii/baseflight/pull/305#issuecomment-168367314.