HAL_ChibiOS: fixed build

This commit is contained in:
Andrew Tridgell 2018-08-06 11:40:03 +10:00
parent 65df9ace57
commit bc2b5661c8
1 changed files with 1 additions and 1 deletions

View File

@ -985,7 +985,7 @@ void RCOutput::dma_irq_callback(void *p, uint32_t flags)
chEvtSignalI(irq.waiter, serial_event_mask);
} else {
// 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();
}