altos/stmf0: Complain if the SPI configuration isn't complete
authorKeith Packard <keithp@keithp.com>
Sun, 19 Feb 2017 06:53:03 +0000 (22:53 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:52 +0000 (11:16 -0800)
commit3770a5f527cb6d519ce22fe91e0cc4078bf72661
tree2894519d0ed036357275b12e4758b92f49a160c1
parentf85997eb53779e637dca697d0d96da7d1235fa80
altos/stmf0: Complain if the SPI configuration isn't complete

If the pin usage values SPI_1_PA5_PA6_PA7 or SPI_1_PB3_PB4_PB5 aren't
defined, then the speed values for the pins aren't going to get set
correctly, which results in erratic SPI behaviour.

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