mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 16:31:36 +08:00
Add R (rest) as alias for Pause (p)
This commit is contained in:
committed by
Julian Oes
parent
07d9167d66
commit
0134d7dd3b
@@ -295,6 +295,7 @@ Tunes::Status Tunes::get_next_note(unsigned &frequency, unsigned &duration, unsi
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'P': // Pause for a note length.
|
case 'P': // Pause for a note length.
|
||||||
|
case 'R':
|
||||||
frequency = 0;
|
frequency = 0;
|
||||||
duration = 0;
|
duration = 0;
|
||||||
note_length = next_number();
|
note_length = next_number();
|
||||||
|
|||||||
Reference in New Issue
Block a user