mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:33:34 +08:00
DroneCAN SocketCAN driver add FMU support
This commit is contained in:
@@ -367,7 +367,7 @@ void UavcanNode::Run()
|
||||
if (!_initialized) {
|
||||
|
||||
|
||||
const int can_init_res = _can->init(_bitrate);
|
||||
const int can_init_res = _can->init((uint32_t)_bitrate);
|
||||
|
||||
if (can_init_res < 0) {
|
||||
PX4_ERR("CAN driver init failed %i", can_init_res);
|
||||
|
||||
Reference in New Issue
Block a user