From ea2ca52301c667c4a486fc84326821d99947884d Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 8 Dec 2013 13:07:32 -0800 Subject: [PATCH] Rename SGPIO DMA internal function to match style of public functions. --- firmware/common/sgpio_dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/common/sgpio_dma.c b/firmware/common/sgpio_dma.c index e1e04688..2c90f4ed 100644 --- a/firmware/common/sgpio_dma.c +++ b/firmware/common/sgpio_dma.c @@ -29,7 +29,7 @@ #include #include -static void configure_dma_lli( +static void sgpio_dma_configure_lli( gpdma_lli_t* const lli, const size_t lli_count, const bool direction_transmit, @@ -104,8 +104,8 @@ static gpdma_lli_t lli_rx[RX_LLI_COUNT]; static gpdma_lli_t lli_tx[TX_LLI_COUNT]; void sgpio_dma_init(void* const buffer, const size_t transfer_bytes) { - configure_dma_lli(lli_rx, RX_LLI_COUNT, false, buffer, transfer_bytes); - configure_dma_lli(lli_tx, TX_LLI_COUNT, true, buffer, transfer_bytes); + sgpio_dma_configure_lli(lli_rx, RX_LLI_COUNT, false, buffer, transfer_bytes); + sgpio_dma_configure_lli(lli_tx, TX_LLI_COUNT, true, buffer, transfer_bytes); /* DMA peripheral/source 0, option 2 (SGPIO14) -- BREQ */ CREG_DMAMUX &= ~(CREG_DMAMUX_DMAMUXPER0_MASK);