mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-25 14:56:57 +08:00
HAL_ChibiOS: run can loop much more often
this allows for much higher ESC and servo rates, as it gives more changes for frames to get out
This commit is contained in:
1 parent
0dc77421e8
commit
afb36ec168
3 files changed
+3
-6
No files matched your search
@@ -313,7 +313,7 @@ void Scheduler::_uavcan_thread(void *arg)
|
||||
sched->delay_microseconds(20000);
|
||||
}
|
||||
while (true) {
|
||||
sched->delay_microseconds(1000);
|
||||
sched->delay_microseconds(100);
|
||||
for (int i = 0; i < MAX_NUMBER_OF_CAN_INTERFACES; i++) {
|
||||
if(hal.can_mgr[i] != nullptr) {
|
||||
CANManager::from(hal.can_mgr[i])->_timer_tick();
|
||||
|
||||
Reference in new issue
Block a user