1
0
Fork 0
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:
kedeng 2025-07-07 18:00:20 +08:00
parent 9ff8c4c926
commit 2427514af2
6 changed files with 14 additions and 14 deletions

View file

@ -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);
}