1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-20 23:05:12 +03:00

Align X9E audio definitions to ana inputs (#5687)

This commit is contained in:
3djc 2018-02-11 23:23:40 +01:00 committed by Andre Bernet
parent 4cf257b997
commit 073e1a8462
2 changed files with 12 additions and 0 deletions

View file

@ -199,6 +199,10 @@ const char * const audioFilenames[] = {
#if defined(PCBTARANIS) || defined(PCBHORUS) #if defined(PCBTARANIS) || defined(PCBHORUS)
"midpot1", "midpot1",
"midpot2", "midpot2",
#if defined(PCBX9E)
"midpot3",
"midpot4",
#endif
"midslid1", "midslid1",
"midslid2", "midslid2",
#if defined(PCBX9E) #if defined(PCBX9E)
@ -1102,6 +1106,10 @@ void audioEvent(unsigned int index)
case AU_STICK4_MIDDLE: case AU_STICK4_MIDDLE:
case AU_POT1_MIDDLE: case AU_POT1_MIDDLE:
case AU_POT2_MIDDLE: case AU_POT2_MIDDLE:
#if defined(PCBX9E)
case AU_POT3_MIDDLE:
case AU_POT4_MIDDLE:
#endif
#if defined(PCBTARANIS) || defined(PCBHORUS) #if defined(PCBTARANIS) || defined(PCBHORUS)
case AU_SLIDER1_MIDDLE: case AU_SLIDER1_MIDDLE:
case AU_SLIDER2_MIDDLE: case AU_SLIDER2_MIDDLE:

View file

@ -1328,6 +1328,10 @@ enum AUDIO_SOUNDS {
#if defined(PCBTARANIS) || defined(PCBHORUS) #if defined(PCBTARANIS) || defined(PCBHORUS)
AU_POT1_MIDDLE, AU_POT1_MIDDLE,
AU_POT2_MIDDLE, AU_POT2_MIDDLE,
#if defined(PCBX9E)
AU_POT3_MIDDLE,
AU_POT4_MIDDLE,
#endif
AU_SLIDER1_MIDDLE, AU_SLIDER1_MIDDLE,
AU_SLIDER2_MIDDLE, AU_SLIDER2_MIDDLE,
#if defined(PCBX9E) #if defined(PCBX9E)