mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Refactor timer macros and update timer definitions for AT32/STM32 platforms
This commit is contained in:
parent
9ff8c4c926
commit
2427514af2
6 changed files with 14 additions and 14 deletions
|
@ -5426,8 +5426,9 @@ static void printPeripheralDmaoptDetails(dmaoptEntry_t *entry, int index, const
|
|||
|
||||
if (entry->presenceMask) {
|
||||
uiIndex = timerGetNumberByIndex(index);
|
||||
if (!(BIT(uiIndex) & entry->presenceMask))
|
||||
if (!(BIT(uiIndex) & entry->presenceMask)) {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
uiIndex = DMA_OPT_UI_INDEX(index);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue