mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 19:37:45 +08:00
Regenerated HAL Drivers to Support Power 5V EN/24V EN,Also fixed FDCAN3 Tx Fifo Queue Elmts Nbr/Baudrate.
This commit is contained in:
@@ -94,7 +94,7 @@ PowerMeterInstance *PowerMeterInit(FDCAN_HandleTypeDef *can_handle)
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 注册FDCAN实例 - 使用FDCANRegister函数
|
// 注册FDCAN实例 - 使用FDCANRegister函数
|
||||||
power_meter_instance->can_instance = FDCANRegister(&can_config);
|
power_meter_instance->can_instance = CANRegister(&can_config);
|
||||||
if (power_meter_instance->can_instance == NULL)
|
if (power_meter_instance->can_instance == NULL)
|
||||||
{
|
{
|
||||||
free(power_meter_instance);
|
free(power_meter_instance);
|
||||||
|
|||||||
Reference in New Issue
Block a user