mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
more constness
This commit is contained in:
parent
18d9956876
commit
4bc2ea744e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user