mirror of
https://gitee.com/dlmu-cone/half-steering-basic-framework
synced 2026-10-23 17:42:20 +08:00
supercap can1
This commit is contained in:
@@ -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
|
||||||
}};
|
}};
|
||||||
|
|||||||
Reference in New Issue
Block a user