1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 11:29:58 +03:00

Fix TIMUP timer validation and improve timer macro consistency

This commit is contained in:
kedeng 2025-07-08 12:43:33 +08:00
parent a82f0142c4
commit ecc5e863e0
2 changed files with 5 additions and 1 deletions

View file

@ -5426,7 +5426,7 @@ static void printPeripheralDmaoptDetails(dmaoptEntry_t *entry, int index, const
if (entry->presenceMask) {
uiIndex = timerGetNumberByIndex(index);
if (!(BIT(uiIndex) & entry->presenceMask)) {
if (!(TIM_N(uiIndex) & entry->presenceMask)) {
return;
}
} else {