Wrong define

This commit is contained in:
Kilrah
2018-11-03 16:56:51 +01:00
committed by Bertrand Songis
parent 73562b12f1
commit f6a6ddd409
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ void boardInit()
sportUpdateInit(); sportUpdateInit();
} }
#if defined(AUDIO_JACK_DETECT_GPIO) #if defined(JACK_DETECT_GPIO)
initJackDetect(void); initJackDetect(void);
#endif #endif
+1 -1
View File
@@ -626,7 +626,7 @@ static inline void initHeadphoneTrainerSwitch(void) { }
static inline void enableHeadphone(void) { } static inline void enableHeadphone(void) { }
static inline void enableTrainer(void) { } static inline void enableTrainer(void) { }
#endif #endif
#if defined(AUDIO_JACK_DETECT_GPIO) #if defined(JACK_DETECT_GPIO)
void initJackDetect(void); void initJackDetect(void);
bool isJackPlugged(); bool isJackPlugged();
#endif #endif