altos/stm: Change ao_spi_send_sync definition to take const source
authorKeith Packard <keithp@keithp.com>
Wed, 29 Jun 2016 01:25:44 +0000 (18:25 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Jun 2016 02:17:45 +0000 (19:17 -0700)
commit2e60cd22f6789c94343e6432822cedab028dc1ba
tree323e75ecbf8ceaa5d8d78b6bef0bd049904f1b6e
parent21a29c7452398e0cca0fb90f99fa42a2a0684668
altos/stm: Change ao_spi_send_sync definition to take const source

Provides for a bit better error checking.

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