diff options
author | Keith Packard <keithp@keithp.com> | 2012-04-25 23:25:43 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-04-25 23:25:43 -0700 |
commit | 962476911aaab17fd482593a0e8b95fe47de2f29 (patch) | |
tree | 52d56c2fa79a3a4e60d2d303da09f529ea66cebb | |
parent | 5f55d0490017faa19b8d70b1742e4a45266c7e79 (diff) |
altos: Oopsed the STM DMA channels for I2C1
TX is 6, RX is 7
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/stm/stm32l.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm/stm32l.h b/src/stm/stm32l.h index 10a53a47..0bc7483e 100644 --- a/src/stm/stm32l.h +++ b/src/stm/stm32l.h @@ -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 |