mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Addd return type of the function dmaEnable
This commit is contained in:
parent
1a6bbb8c81
commit
dbbd3451ef
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ uint32_t dmaFlag_IT_TCIF(const dmaResource_t *channel)
|
||||||
}
|
}
|
||||||
|
|
||||||
#define DMA_RCC(x) ((x) == DMA1 ? RCC_AHBPeriph_DMA1 : RCC_AHBPeriph_DMA2)
|
#define DMA_RCC(x) ((x) == DMA1 ? RCC_AHBPeriph_DMA1 : RCC_AHBPeriph_DMA2)
|
||||||
dmaEnable(dmaIdentifier_e identifier)
|
void dmaEnable(dmaIdentifier_e identifier)
|
||||||
{
|
{
|
||||||
const int index = DMA_IDENTIFIER_TO_INDEX(identifier);
|
const int index = DMA_IDENTIFIER_TO_INDEX(identifier);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue