supercap can1

This commit is contained in:
2026-03-10 03:07:45 +08:00
parent 93d26b601d
commit 6d1de50957

View File

@@ -170,7 +170,7 @@ void ChassisInit()
SuperCap_Init_Config_s cap_conf = { SuperCap_Init_Config_s cap_conf = {
.can_config = { .can_config = {
.can_handle = &hcan2, // 保持你原有的硬件CAN接口不变 .can_handle = &hcan1, // 保持你原有的硬件CAN接口不变
.tx_id = 0x001, // C板发给超级电容的ID .tx_id = 0x001, // C板发给超级电容的ID
.rx_id = 0x100, // 超级电容发给C板的ID .rx_id = 0x100, // 超级电容发给C板的ID
}}; }};