Skip to content

Commit bf1b1ca

Browse files
ohagendorfadbridge
authored andcommitted
classic mbed: bugfix can loop test
bugfixing the can loop test which failed after PR #2504
1 parent cefd2fb commit bf1b1ca

File tree

1 file changed

+3
-4
lines changed
  • libraries/tests/mbed/can_loopback

1 file changed

+3
-4
lines changed

libraries/tests/mbed/can_loopback/main.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ CAN can1(P5_9, P5_10);
2121
defined(TARGET_NUCLEO_F746ZG) || defined(TARGET_DISCO_L476VG) || \
2222
defined(TARGET_NUCLEO_L476RG) || defined(TARGET_NUCLEO_L432KC)
2323
CAN can1(PA_11, PA_12);
24-
defined(TARGET_NUCLEO_F446ZE) || \
25-
defined(TARGET_NUCLEO_F103RB) || \
26-
defined(TARGET_NUCLEO_F207ZG) || \
27-
defined(TARGET_NUCLEO_F303ZE) || \
24+
#elif defined(TARGET_DISCO_F469NI) || defined(TARGET_DISCO_F746NG) || \
25+
defined(TARGET_NUCLEO_F446ZE) || defined(TARGET_NUCLEO_F103RB) || \
26+
defined(TARGET_NUCLEO_F207ZG) || defined(TARGET_NUCLEO_F303ZE) || \
2827
defined(TARGET_DISCO_F769NI)
2928
CAN can1(PB_8, PB_9);
3029
#endif

0 commit comments

Comments
 (0)