altos/stmf0: Fixup for SPI mode support
authorKeith Packard <keithp@keithp.com>
Mon, 24 Aug 2020 00:15:14 +0000 (18:15 -0600)
committerKeith Packard <keithp@keithp.com>
Thu, 22 Oct 2020 04:33:58 +0000 (21:33 -0700)
commitf1ea931ca808b120b5f378269aa9a6e38e90b8af
tree72bf18d07af10fe3af2832299f892010b785ecae
parentc1ed5c2249abb7bd1bc85091179d5d208e776da6
altos/stmf0: Fixup for SPI mode support

The desired SPI mode comes in 'spi_index' and needs
to be split out before spi_index is used for pin configuration.

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