mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 06:18:52 +08:00
Tunes library MML compatibility[A
This commit is contained in:
committed by
Julian Oes
parent
e945c91f88
commit
07d9167d66
@@ -219,6 +219,13 @@ Tunes::Status Tunes::get_next_note(unsigned &frequency, unsigned &duration, unsi
|
||||
_next_tune++;
|
||||
|
||||
switch (c) {
|
||||
|
||||
case 'V': // Select volume.
|
||||
// Consume volume if specified in tune but ignore
|
||||
// MML compatibility
|
||||
next_number();
|
||||
break;
|
||||
|
||||
case 'L': // Select note length.
|
||||
_note_length = next_number();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user