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>
Mon, 24 Aug 2020 00:15:14 +0000 (18:15 -0600)
commitf3a1e4de032d7a3d3af46df7aa4d3a21d80c0781
tree100fb2c1affaba8659a102c60a79255d630ea7f8
parent35d71614e0c25605d8bb94bf3ab37b14d2f21480
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