diff --git a/src/main/drivers/serial_softserial.c b/src/main/drivers/serial_softserial.c index b81a6bbd19..7320284ded 100644 --- a/src/main/drivers/serial_softserial.c +++ b/src/main/drivers/serial_softserial.c @@ -110,7 +110,7 @@ static void softSerialGPIOConfig(GPIO_TypeDef *gpio, uint16_t pin, GPIO_Mode mod void serialInputPortConfig(const timerHardware_t *timerHardwarePtr) { - softSerialGPIOConfig(timerHardwarePtr->gpio, timerHardwarePtr->pin, Mode_IPU); + softSerialGPIOConfig(timerHardwarePtr->gpio, timerHardwarePtr->pin, timerHardwarePtr->gpioInputMode); } static bool isTimerPeriodTooLarge(uint32_t timerPeriod)