From efe50710c4cf49606fb0e669f5e2444e818abd1c Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 4 Sep 2012 12:37:18 +0000 Subject: [PATCH] Issue 91 fixed --- src/ersky9x/audio.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/ersky9x/audio.cpp b/src/ersky9x/audio.cpp index 9d208f75b..88e74ba38 100644 --- a/src/ersky9x/audio.cpp +++ b/src/ersky9x/audio.cpp @@ -624,8 +624,20 @@ void audioEvent(uint8_t e, uint8_t f) case AU_TIMER_LT3: audioQueue.play(BEEP_DEFAULT_FREQ + 5, 30, 6, PLAY_NOW); break; + case AU_FRSKY_BEEP1: + audioQueue.play(BEEP_DEFAULT_FREQ, 15, 2, 0); + pause(200); + break; + case AU_FRSKY_BEEP2: + audioQueue.play(BEEP_DEFAULT_FREQ, 30, 2, 0); + pause(200); + break; + case AU_FRSKY_BEEP3: + audioQueue.play(BEEP_DEFAULT_FREQ, 50, 2, 0); + pause(200); + break; case AU_FRSKY_WARN1: - audioQueue.play(BEEP_DEFAULT_FREQ+20,30,10,2); + audioQueue.play(BEEP_DEFAULT_FREQ+20, 30, 10, 2); audioQueue.pause(200); break; case AU_FRSKY_WARN2: