altos/stm: Clean up spi_enable/disable_index functions
authorKeith Packard <keithp@keithp.com>
Wed, 29 Jun 2016 01:37:49 +0000 (18:37 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Jun 2016 02:17:45 +0000 (19:17 -0700)
commit5866d191cee56949ccab4c154a14604e83163d42
tree3d7920bc39c46ab8d9f4986adc6b30c94ce05d8b
parent5ab4a8b911e254dc829b61cb0abc9fd0b46b84b3
altos/stm: Clean up spi_enable/disable_index functions

These had an extra level of switch nesting for no good reason.

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