mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
HAL_ChibiOS: run CAN thread at 3KHz
at 10KHz we were causing occasional CRC errors on the UART to IOMCU
This commit is contained in:
parent
a7ce864296
commit
e11b3f2f0e
@ -306,7 +306,7 @@ void Scheduler::_uavcan_thread(void *arg)
|
||||
sched->delay_microseconds(20000);
|
||||
}
|
||||
while (true) {
|
||||
sched->delay_microseconds(100);
|
||||
sched->delay_microseconds(300);
|
||||
for (int i = 0; i < MAX_NUMBER_OF_CAN_INTERFACES; i++) {
|
||||
if (AP_UAVCAN::get_uavcan(i) != nullptr) {
|
||||
CANManager::from(hal.can_mgr[i])->_timer_tick();
|
||||
|
Loading…
Reference in New Issue
Block a user