fix: Trainer Slave not recognized in Master for ACCESS radios
Fixes #1587
This commit is contained in:
committed by
Peter Feerick
parent
7ba936bb96
commit
da482b48b1
@@ -151,7 +151,7 @@ void extmoduleSendInvertedByte(uint8_t byte);
|
||||
|
||||
#if defined(TRAINER_DETECT_GPIO)
|
||||
// Trainer detect is a switch on the jack
|
||||
#define TRAINER_CONNECTED() (GPIO_ReadInputDataBit(TRAINER_DETECT_GPIO, TRAINER_DETECT_GPIO_PIN) == Bit_RESET)
|
||||
#define TRAINER_CONNECTED() (GPIO_ReadInputDataBit(TRAINER_DETECT_GPIO, TRAINER_DETECT_GPIO_PIN) == TRAINER_DETECT_GPIO_PIN_VALUE)
|
||||
#elif defined(PCBXLITES)
|
||||
// Trainer is on the same connector than Headphones
|
||||
enum JackState
|
||||
|
||||
Reference in New Issue
Block a user