altos: Oopsed the STM DMA channels for I2C1
authorKeith Packard <keithp@keithp.com>
Thu, 26 Apr 2012 06:25:43 +0000 (23:25 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 26 Apr 2012 06:25:43 +0000 (23:25 -0700)
TX is 6, RX is 7

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/stm32l.h

index 10a53a477fd7932d654dbbc0d2e34cb3af973814..0bc7483e6ef93429736b23cc0ae817e71d42ef21 100644 (file)
@@ -953,8 +953,8 @@ extern struct stm_dma stm_dma;
 #define STM_DMA_CHANNEL_USART2_TX      7
 #define STM_DMA_CHANNEL_I2C2_TX                4
 #define STM_DMA_CHANNEL_I2C2_RX                5
-#define STM_DMA_CHANNEL_I2C1_RX                6
-#define STM_DMA_CHANNEL_I2C1_TX                7
+#define STM_DMA_CHANNEL_I2C1_TX                6
+#define STM_DMA_CHANNEL_I2C1_RX                7
 #define STM_DMA_CHANNEL_TIM2_CH3       1
 #define STM_DMA_CHANNEL_TIM2_UP                2
 #define STM_DMA_CHANNEL_TIM2_CH1       5