Telemetry RxBatt alarms

This commit is contained in:
bsongis
2014-05-23 16:17:49 +02:00
parent 136cd666f7
commit ede7b02706
6 changed files with 64 additions and 13 deletions
+4
View File
@@ -201,6 +201,8 @@ const char * audioFilenames[] = {
"rssi_org",
"rssi_red",
"swr_red",
"rx_org",
"rx_red",
"telemko",
"telemok"
};
@@ -1064,12 +1066,14 @@ void audioEvent(uint8_t e, uint16_t f)
case AU_TIMER_30:
audioQueue.playTone(BEEP_DEFAULT_FREQ+150, 120, 20, PLAY_REPEAT(2)|PLAY_NOW);
break;
case AU_RXBATT_ORANGE:
case AU_A1_ORANGE:
case AU_A2_ORANGE:
case AU_A3_ORANGE:
case AU_A4_ORANGE:
audioQueue.playTone(BEEP_DEFAULT_FREQ+600, 200, 20, PLAY_NOW);
break;
case AU_RXBATT_RED:
case AU_A1_RED:
case AU_A2_RED:
case AU_A3_RED: