altos/stm: Clean up SPI pin configuration code
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2012 00:56:23 +0000 (17:56 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2012 00:56:23 +0000 (17:56 -0700)
commit35cb2dc51708ab572a4c72422e5902a313eda58e
treea6d86be249df47954a3fe5216fb383530c2cd478
parent41add569413bf3ec564195963277c81f2d2da798
altos/stm: Clean up SPI pin configuration code

Make sure none of the pin configurations are being used at startup
time. Split out the pin configuration into separate functions.

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