Fixed bug #1132
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13906 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
b3fc49af77
commit
83c73a20a5
|
@ -205,7 +205,7 @@ void mdmaInit(void) {
|
|||
*
|
||||
* @iclass
|
||||
*/
|
||||
const stm32_mdma_channel_t *dmaChannelAllocI(uint32_t id,
|
||||
const stm32_mdma_channel_t *mdmaChannelAllocI(uint32_t id,
|
||||
stm32_mdmaisr_t func,
|
||||
void *param) {
|
||||
uint32_t i, startid, endid;
|
||||
|
@ -264,7 +264,7 @@ const stm32_mdma_channel_t *dmaChannelAllocI(uint32_t id,
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
const stm32_mdma_channel_t *dmaChannelAlloc(uint32_t id,
|
||||
const stm32_mdma_channel_t *mdmaChannelAlloc(uint32_t id,
|
||||
stm32_mdmaisr_t func,
|
||||
void *param) {
|
||||
const stm32_mdma_channel_t *mdmachp;
|
||||
|
|
|
@ -244,13 +244,6 @@
|
|||
#define STM32_MDMA_CTBR_TSEL_DBUS (1U << 17)
|
||||
/** @} */
|
||||
|
||||
#if (HAL_USE_WSPI == TRUE) || defined(__DOXYGEN__)
|
||||
/* @brief MDMA HW request is QSPI FIFO threshold Flag */
|
||||
#define MDMA_REQUEST_QUADSPI_FIFO_TH ((uint32_t)0x00000016U)
|
||||
/* @brief MDMA HW request is QSPI Transfer complete Flag */
|
||||
#define MDMA_REQUEST_QUADSPI_TC ((uint32_t)0x00000017U)
|
||||
#endif
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver pre-compile time settings. */
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue