Bugfix of typo in tiva_can.c

This commit is contained in:
David 2023-01-16 14:18:29 +01:00 committed by Alin Jerpelea
parent a4c9da9280
commit 5dbd082fad

View File

@ -1882,7 +1882,7 @@ static void tivacan_bittiming_set(struct can_dev_s *dev,
DEBUGASSERT(timing->prescaler > TIVA_CAN_PRESCALER_MIN &&
timing->prescaler < TIVA_CAN_PRESCALER_MAX);
DEBUGASSERT(timing->tseg1 > TIVA_CAN_TSEG1_MIN &&
timing->tseg1 < TIVA_CAN_PRESCALER_MAX);
timing->tseg1 < TIVA_CAN_TSEG1_MAX);
DEBUGASSERT(timing->tseg2 > TIVA_CAN_TSEG2_MIN &&
timing->tseg2 < TIVA_CAN_TSEG2_MAX);
DEBUGASSERT(timing->sjw > TIVA_CAN_SJW_MIN &&