Commit f1b89eda authored by Alexander Wachter's avatar Alexander Wachter Committed by Anas Nashif
Browse files

tests: drivers: can: api: define DT_CAN_1_NAME if not defined



Define DT_CAN_1_NAME as an empty string if it is not defined.
This is useful for buildtest where no HW is available.

Signed-off-by: default avatarAlexander Wachter <alexander.wachter@student.tugraz.at>
parent 54d065c6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,10 @@
#define TEST_CAN_EXT_MASK_ID 0x1555555A
#define TEST_CAN_EXT_MASK    0x1FFFFFF0

#ifndef DT_CAN_1_NAME
#define DT_CAN_1_NAME ""
#endif

CAN_DEFINE_MSGQ(can_msgq, 5);
struct k_sem rx_isr_sem;