projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/ao_quadrature: Fix -Wconversion warnings
[fw/altos]
/
src
/
stm
/
ao_spi_stm.c
diff --git
a/src/stm/ao_spi_stm.c
b/src/stm/ao_spi_stm.c
index 1a04a2899a825afa758726d5625d3c11a7536c34..0215f03ebd6a56bf173c16e16e8c0a53cd008955 100644
(file)
--- a/
src/stm/ao_spi_stm.c
+++ b/
src/stm/ao_spi_stm.c
@@
-116,7
+116,7
@@
ao_spi_set_dma_miso(uint8_t id, void *data, uint16_t len, uint32_t minc)
data,
len,
(0 << STM_DMA_CCR_MEM2MEM) |
data,
len,
(0 << STM_DMA_CCR_MEM2MEM) |
- (STM_DMA_CCR_PL_HIGH << STM_DMA_CCR_PL) |
+ (STM_DMA_CCR_PL_
VERY_
HIGH << STM_DMA_CCR_PL) |
(STM_DMA_CCR_MSIZE_8 << STM_DMA_CCR_MSIZE) |
(STM_DMA_CCR_PSIZE_8 << STM_DMA_CCR_PSIZE) |
(minc << STM_DMA_CCR_MINC) |
(STM_DMA_CCR_MSIZE_8 << STM_DMA_CCR_MSIZE) |
(STM_DMA_CCR_PSIZE_8 << STM_DMA_CCR_PSIZE) |
(minc << STM_DMA_CCR_MINC) |