projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5f55d04
)
altos: Oopsed the STM DMA channels for I2C1
author
Keith Packard
<keithp@keithp.com>
Thu, 26 Apr 2012 06:25:43 +0000
(23:25 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/stm/stm32l.h
b/src/stm/stm32l.h
index 10a53a477fd7932d654dbbc0d2e34cb3af973814..0bc7483e6ef93429736b23cc0ae817e71d42ef21 100644
(file)
--- 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_
R
X 6
-#define STM_DMA_CHANNEL_I2C1_
T
X 7
+#define STM_DMA_CHANNEL_I2C1_
T
X 6
+#define STM_DMA_CHANNEL_I2C1_
R
X 7
#define STM_DMA_CHANNEL_TIM2_CH3 1
#define STM_DMA_CHANNEL_TIM2_UP 2
#define STM_DMA_CHANNEL_TIM2_CH1 5