mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
HAL_ChibiOS: fixed build
This commit is contained in:
parent
65df9ace57
commit
bc2b5661c8
@ -985,7 +985,7 @@ void RCOutput::dma_irq_callback(void *p, uint32_t flags)
|
|||||||
chEvtSignalI(irq.waiter, serial_event_mask);
|
chEvtSignalI(irq.waiter, serial_event_mask);
|
||||||
} else {
|
} else {
|
||||||
// this prevents us ever having two dshot pulses too close together
|
// this prevents us ever having two dshot pulses too close together
|
||||||
chVTSetI(&group->dma_timeout, chTimeUS2I(dshot_min_gap_us), dma_unlock, p);
|
chVTSetI(&group->dma_timeout, US2ST(dshot_min_gap_us), dma_unlock, p);
|
||||||
}
|
}
|
||||||
chSysUnlockFromISR();
|
chSysUnlockFromISR();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user