Adjust audio for X9E hardware (#5028)

This commit is contained in:
3djc
2017-06-14 23:27:02 +02:00
committed by Bertrand Songis
parent ab81838d87
commit 15a29f3a43
2 changed files with 12 additions and 0 deletions
+8
View File
@@ -200,6 +200,10 @@ const char * const audioFilenames[] = {
"midpot2",
"midslid1",
"midslid2",
#if defined(PCBX9E)
"midslid3",
"midslid4",
#endif
#else
"midpot1",
"midpot2",
@@ -1096,6 +1100,10 @@ void audioEvent(unsigned int index)
#if defined(PCBTARANIS) || defined(PCBFLAMENCO) || defined(PCBHORUS)
case AU_SLIDER1_MIDDLE:
case AU_SLIDER2_MIDDLE:
#if defined(PCBX9E)
case AU_SLIDER3_MIDDLE:
case AU_SLIDER4_MIDDLE:
#endif
#else
case AU_POT3_MIDDLE:
#endif