diff options
author | px4dev <px4@purgatory.org> | 2013-03-10 12:56:52 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-03-10 12:56:52 -0700 |
commit | 4bc2ea744ea3e235877e01cbacd011d363336252 (patch) | |
tree | 0e18d13fb884d4ffcc57609574335bcd224afb8c /apps/drivers | |
parent | 18d9956876ef6952fd6b6156f39e4849b27f229d (diff) | |
download | px4-firmware-4bc2ea744ea3e235877e01cbacd011d363336252.tar.gz px4-firmware-4bc2ea744ea3e235877e01cbacd011d363336252.tar.bz2 px4-firmware-4bc2ea744ea3e235877e01cbacd011d363336252.zip |
more constness
Diffstat (limited to 'apps/drivers')
-rw-r--r-- | apps/drivers/stm32/tone_alarm/tone_alarm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/drivers/stm32/tone_alarm/tone_alarm.cpp b/apps/drivers/stm32/tone_alarm/tone_alarm.cpp index 0abc24343..d73cb40ee 100644 --- a/apps/drivers/stm32/tone_alarm/tone_alarm.cpp +++ b/apps/drivers/stm32/tone_alarm/tone_alarm.cpp @@ -237,7 +237,7 @@ public: private: static const unsigned _tune_max = 1024; // be reasonable about user tunes - static const char *_default_tunes[]; + static const char * const _default_tunes[]; static const unsigned _default_ntunes; static const uint8_t _note_tab[]; @@ -307,7 +307,7 @@ private: }; // predefined tune array -const char *ToneAlarm::_default_tunes[] = { +const char * const ToneAlarm::_default_tunes[] = { "MFT240L8 O4aO5dc O4aO5dc O4aO5dc L16dcdcdcdc", // startup tune "MBMLA", // continuous A "MFO4TML60c", // 1second c4 (placeholder) |