AP_CANManager: fixed MAVCAN fwding flag
this caused corruption due to multiple frames
This commit is contained in:
parent
526ebcf8c8
commit
d59e881301
@ -521,7 +521,7 @@ void AP_CANManager::process_frame_buffer(void)
|
||||
}
|
||||
const int16_t retcode = hal.can[frame.bus]->send(frame.frame,
|
||||
AP_HAL::native_micros64() + timeout_us,
|
||||
frame.frame.isCanFDFrame()?AP_HAL::CANIface::IsMAVCAN:0);
|
||||
AP_HAL::CANIface::IsMAVCAN);
|
||||
if (retcode == 0) {
|
||||
// no space in the CAN output slots, try again later
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user