Fix #1062
This commit is contained in:
@@ -218,6 +218,12 @@ const char * const audioFilenames[] = {
|
||||
#if defined(PCBX9E)
|
||||
"midpot3",
|
||||
"midpot4",
|
||||
#endif
|
||||
#if defined(PCBX10)
|
||||
"midpot4",
|
||||
"midpot5",
|
||||
"midpot6",
|
||||
"midpot7",
|
||||
#endif
|
||||
"midslid1",
|
||||
"midslid2",
|
||||
@@ -1140,6 +1146,12 @@ void audioEvent(unsigned int index)
|
||||
case AU_POT3_MIDDLE:
|
||||
case AU_POT4_MIDDLE:
|
||||
#endif
|
||||
#if defined(PCBX10)
|
||||
case AU_POT4_MIDDLE:
|
||||
case AU_POT5_MIDDLE:
|
||||
case AU_POT6_MIDDLE:
|
||||
case AU_POT7_MIDDLE:
|
||||
#endif
|
||||
#if defined(PCBFRSKY)
|
||||
case AU_SLIDER1_MIDDLE:
|
||||
case AU_SLIDER2_MIDDLE:
|
||||
|
||||
+7
-1
@@ -900,6 +900,12 @@ enum AUDIO_SOUNDS {
|
||||
#if defined(PCBX9E)
|
||||
AU_POT3_MIDDLE,
|
||||
AU_POT4_MIDDLE,
|
||||
#endif
|
||||
#if defined(PCBX10)
|
||||
AU_POT4_MIDDLE,
|
||||
AU_POT5_MIDDLE,
|
||||
AU_POT6_MIDDLE,
|
||||
AU_POT7_MIDDLE,
|
||||
#endif
|
||||
AU_SLIDER1_MIDDLE,
|
||||
AU_SLIDER2_MIDDLE,
|
||||
@@ -938,7 +944,7 @@ enum AUDIO_SOUNDS {
|
||||
AU_SPECIAL_SOUND_ALARMC,
|
||||
AU_SPECIAL_SOUND_LAST,
|
||||
|
||||
AU_NONE=0xff
|
||||
AU_NONE = 0xff
|
||||
};
|
||||
|
||||
#if defined(AUDIO)
|
||||
|
||||
@@ -116,7 +116,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "SVPK1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "SVPK13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "SVPK1234LRLR"
|
||||
|
||||
@@ -117,7 +117,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "SHGQ1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "SHGQ13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "SHGQ1234LRLR"
|
||||
|
||||
@@ -117,7 +117,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "RETA1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "RETA13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "RETA1234LRLR"
|
||||
|
||||
@@ -117,7 +117,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "RETA1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "RETA13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "RETA1234LRLR"
|
||||
|
||||
@@ -117,7 +117,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "RETA1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "RETA13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "RETA1234LRLR"
|
||||
|
||||
@@ -117,7 +117,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "DFGA1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "DPGA13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "DPGA1234LRLR"
|
||||
|
||||
@@ -121,7 +121,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "DEMA1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "DEMA13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "DEMA123SDSD"
|
||||
|
||||
@@ -118,7 +118,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "RETA1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "RETA13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "RETA1234LRLR"
|
||||
|
||||
@@ -118,7 +118,9 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBHORUS)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "KWGL1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "KWGL13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "KWGL1234LRLR"
|
||||
|
||||
@@ -120,7 +120,13 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBTARANIS) || defined(REVX)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "LPMA1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "LPMA3245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "RETA1234LRLR"
|
||||
#elif defined(PCBTARANIS) || defined(REVX)
|
||||
#define TR_RETA123 "LPMA123LR"
|
||||
#elif defined(PCBSKY9X)
|
||||
#define TR_RETA123 "LPMA123a"
|
||||
|
||||
@@ -120,7 +120,11 @@
|
||||
|
||||
#define LEN_RETA123 "\001"
|
||||
|
||||
#if defined(PCBX9E)
|
||||
#if defined(PCBX10)
|
||||
#define TR_RETA123 "RHGS1324567LR"
|
||||
#elif defined(PCBHORUS)
|
||||
#define TR_RETA123 "RHGS13245LR"
|
||||
#elif defined(PCBX9E)
|
||||
#define TR_RETA123 "RHGS1234HVHV"
|
||||
#elif defined(PCBTARANIS) || defined(REVX)
|
||||
#define TR_RETA123 "RHGS123HV"
|
||||
|
||||
Reference in New Issue
Block a user