From c52b459a5335807a9d851f11b6a1941657c1c86b Mon Sep 17 00:00:00 2001 From: "DrZiplok@gmail.com" Date: Mon, 14 Feb 2011 17:43:33 +0000 Subject: [PATCH] Variable names must be PROGMEM strings. git-svn-id: https://arducopter.googlecode.com/svn/trunk@1655 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/RC_Channel/RC_Channel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/RC_Channel/RC_Channel.h b/libraries/RC_Channel/RC_Channel.h index 277e44ae76..c96a56e59e 100644 --- a/libraries/RC_Channel/RC_Channel.h +++ b/libraries/RC_Channel/RC_Channel.h @@ -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),