mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_Notify: MMLPlayer note_tab static const
This commit is contained in:
parent
720676b28c
commit
98d962ffa2
@ -215,7 +215,7 @@ void MMLPlayer::next_action()
|
||||
case 'E':
|
||||
case 'F':
|
||||
case 'G': {
|
||||
uint8_t note_tab[] = {9,11,0,2,4,5,7};
|
||||
static const uint8_t note_tab[] = {9,11,0,2,4,5,7};
|
||||
note = note_tab[c-'A'] + (_octave*12) + 1;
|
||||
|
||||
c = next_char();
|
||||
|
Loading…
Reference in New Issue
Block a user