Skip to content

Commit d9147a8

Browse files
committed
make sure tx_stick_names is in ROM
1 parent cf7867d commit d9147a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/inputs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
#define BUTNAME_ENTER _tr("Enter")
112112
#define BUTNAME_EXIT _tr("Exit")
113113

114-
const char *tx_stick_names[4] = {
114+
const char * const tx_stick_names[4] = {
115115
_tr_noop("RIGHT_H"),
116116
_tr_noop("LEFT_V"),
117117
_tr_noop("RIGHT_V"),

src/mixer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ struct Curve {
9393
};
9494

9595
//The followingis defined bythe target
96-
extern const char *tx_stick_names[4];
96+
extern const char *const tx_stick_names[4];
9797

9898
enum TemplateType {
9999
MIXERTEMPLATE_NONE,

0 commit comments

Comments
 (0)