Skip to content

Commit 63bffce

Browse files
committed
CAN HW: help simulator
1 parent e5cf902 commit 63bffce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firmware/hw_layer/drivers/can/can_hw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ static CANDriver* getCanDevice(size_t index)
108108

109109
return nullptr;
110110
}
111+
#endif // EFI_PROD_CODE
111112

112113
static can_baudrate_e getDefaultCanBaudRate(size_t index) {
113114
switch (index) {
@@ -138,7 +139,6 @@ static bool getCanListenOnly(size_t index) {
138139

139140
return engineConfiguration->can1ListenMode;
140141
}
141-
#endif
142142

143143
int txErrorCount[EFI_CAN_BUS_COUNT] = {};
144144

0 commit comments

Comments
 (0)