1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Merge pull request #1462 from blckmn/led_mapping

Moving LED strip output pin to be configurable via resource command
This commit is contained in:
Martin Budden 2016-11-05 09:25:01 +01:00 committed by GitHub
commit 9124c496b6
19 changed files with 286 additions and 218 deletions

View file

@ -810,6 +810,7 @@ volatile timCCR_t* timerCCR(TIM_TypeDef *tim, uint8_t channel)
return (volatile timCCR_t*)((volatile char*)&tim->CCR1 + channel);
}
#ifndef USE_HAL_DRIVER
uint16_t timerDmaSource(uint8_t channel)
{
switch (channel) {
@ -823,4 +824,5 @@ uint16_t timerDmaSource(uint8_t channel)
return TIM_DMA_CC4;
}
return 0;
}
}
#endif