forked from Archive/PX4-Autopilot
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:
commit
8d47b3c6d4
|
@ -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
Loading…
Reference in New Issue