ohh CanCategory was never used?!

This commit is contained in:
rusefi 2023-05-17 19:56:39 -04:00
parent 80d88604ff
commit 3ddc3d42c2
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,7 @@
#include "pch.h" #include "pch.h"
#include "can_msg_tx.h" #include "can_msg_tx.h"
#include "auto_generated_can_category.h"
#include "can.h" #include "can.h"
@ -63,7 +64,8 @@ CanTxMessage::~CanTxMessage() {
} }
if (engineConfiguration->verboseCan) { if (engineConfiguration->verboseCan) {
efiPrintf("Sending CAN bus%d message: ID=%x/l=%x %x %x %x %x %x %x %x %x", efiPrintf("%s Sending CAN bus%d message: ID=%x/l=%x %x %x %x %x %x %x %x %x",
getCanCategory(category),
busIndex, busIndex,
#ifndef STM32H7XX #ifndef STM32H7XX
(m_frame.IDE == CAN_IDE_EXT) ? CAN_EID(m_frame) : CAN_SID(m_frame), (m_frame.IDE == CAN_IDE_EXT) ? CAN_EID(m_frame) : CAN_SID(m_frame),

View File

@ -15,6 +15,7 @@ HW_LAYER_DRIVERS_CORE_CPP = \
$(DRIVERS_DIR)/gpio/core.cpp \ $(DRIVERS_DIR)/gpio/core.cpp \
$(DRIVERS_DIR)/sent/sent.cpp \ $(DRIVERS_DIR)/sent/sent.cpp \
$(DRIVERS_DIR)/i2c/i2c_bb.cpp \ $(DRIVERS_DIR)/i2c/i2c_bb.cpp \
$(DRIVERS_DIR)/can/auto_generated_can_category.cpp \
$(DRIVERS_DIR)/can/can_msg_tx.cpp $(DRIVERS_DIR)/can/can_msg_tx.cpp
HW_LAYER_DRIVERS = HW_LAYER_DRIVERS =