altos/stm: Set MISO DMA priority to HIGH to avoid OVR
authorKeith Packard <keithp@keithp.com>
Sat, 3 Sep 2016 05:55:19 +0000 (00:55 -0500)
committerKeith Packard <keithp@keithp.com>
Sat, 3 Sep 2016 06:23:31 +0000 (01:23 -0500)
commitaf2eefbed43e56885a7321319d69b7be17354cdd
tree407fcc62fe73ab58b99b536718932efe3a9e08ee
parent4fc5cfa2c63c43ab0a9ef7e0cc6832fb1c163bd6
altos/stm: Set MISO DMA priority to HIGH to avoid OVR

When the MISO DMA priority is too low, and the processor gets busy,
it's possible for SPI input to overrun the processor, which causes the
MISO DMA to get out of sync and never finish. Set the MISO DMA
priority to HIGH to avoid this.

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