]> Pileus Git - ~andy/csm213a-hw/commitdiff
Fix whitespace error master
authorAndy Spencer <andy753421@gmail.com>
Sat, 15 Mar 2014 22:22:37 +0000 (22:22 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 15 Mar 2014 22:22:37 +0000 (22:22 +0000)
hw2/timer_dma.c

index 77dc6899da804216930652ae27aa15f2273c90b7..8d5c19d9840d0bb5755b9bf8e3f8f641458a203d 100644 (file)
@@ -107,10 +107,10 @@ tdma_t *tdma_open(tdma_chan_t chan, int alt, PinName pin, PinMode mode)
 
        // Configure DMA channel
        port->dma->dcr  = DMA_DCR_SINC_MASK         // Source increment
-                       | DMA_DCR_DINC_MASK         // Dest increment
-                       | DMA_DCR_SSIZE(0)          // 32-bit access
-                       | DMA_DCR_DSIZE(0)          // 32-bit access
-                       | DMA_DCR_D_REQ_MASK;       // Only run once
+                       | DMA_DCR_DINC_MASK         // Dest increment
+                       | DMA_DCR_SSIZE(0)          // 32-bit access
+                       | DMA_DCR_DSIZE(0)          // 32-bit access
+                       | DMA_DCR_D_REQ_MASK;       // Only run once
 
        // Setup and enable DMA MUX
        port->mux->cfg  = DMAMUX_CHCFG_SOURCE(req)  // Request source