mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 12:20:34 +08:00
Merge pull request #220 from PX4/tone_alarm_PLAY
New tone_alarm driver that uses ANSI music / GWBasic PLAY strings
This commit is contained in:
@@ -243,11 +243,11 @@ static int led_off(int led)
|
||||
}
|
||||
|
||||
enum AUDIO_PATTERN {
|
||||
AUDIO_PATTERN_ERROR = 1,
|
||||
AUDIO_PATTERN_NOTIFY_POSITIVE = 2,
|
||||
AUDIO_PATTERN_NOTIFY_NEUTRAL = 3,
|
||||
AUDIO_PATTERN_NOTIFY_NEGATIVE = 4,
|
||||
AUDIO_PATTERN_TETRIS = 5
|
||||
AUDIO_PATTERN_ERROR = 2,
|
||||
AUDIO_PATTERN_NOTIFY_POSITIVE = 3,
|
||||
AUDIO_PATTERN_NOTIFY_NEUTRAL = 4,
|
||||
AUDIO_PATTERN_NOTIFY_NEGATIVE = 5,
|
||||
AUDIO_PATTERN_NOTIFY_CHARGE = 6
|
||||
};
|
||||
|
||||
int trigger_audio_alarm(uint8_t old_mode, uint8_t old_state, uint8_t new_mode, uint8_t new_state)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user