mirror of https://github.com/ArduPilot/ardupilot
Variable names must be PROGMEM strings.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1655 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
b37c09d56e
commit
c52b459a53
|
@ -20,9 +20,9 @@ class RC_Channel{
|
|||
///
|
||||
RC_Channel(AP_Var::Key key, const prog_char *name) :
|
||||
_group(key, name),
|
||||
radio_min (&_group, 0, 1500, name ? "MIN" : 0), // suppress name if group has no name
|
||||
radio_trim(&_group, 1, 1500, name ? "TRIM" : 0),
|
||||
radio_max (&_group, 2, 1500, name ? "MAX" : 0),
|
||||
radio_min (&_group, 0, 1500, name ? PSTR("MIN") : 0), // suppress name if group has no name
|
||||
radio_trim(&_group, 1, 1500, name ? PSTR("TRIM") : 0),
|
||||
radio_max (&_group, 2, 1500, name ? PSTR("MAX") : 0),
|
||||
_high(1),
|
||||
_filter(true),
|
||||
_reverse(1),
|
||||
|
|
Loading…
Reference in New Issue