Skip to content

Commit 6770678

Browse files
committed
Fix another typo
1 parent 795bfd2 commit 6770678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_STM/can_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ int can_frequency(can_t *obj, int f)
205205
/* Get tick */
206206
tickstart = HAL_GetTick();
207207
while ((can->MSR & CAN_MSR_INAK) != CAN_MSR_INAK) {
208-
if ((HAL_GetTick() - tickstart ) > 2) {
208+
if ((HAL_GetTick() - tickstart) > 2) {
209209
status = 0;
210210
break;
211211
}
@@ -216,7 +216,7 @@ int can_frequency(can_t *obj, int f)
216216
/* Get tick */
217217
tickstart = HAL_GetTick();
218218
while ((can->MSR & CAN_MSR_INAK) == CAN_MSR_INAK) {
219-
if ((HAL_GetTick() - tickstart ) > 2) {
219+
if ((HAL_GetTick() - tickstart) > 2) {
220220
status = 0;
221221
break;
222222
}

0 commit comments

Comments
 (0)