altos: stm: share i2c_stop code between send and recv
authorKeith Packard <keithp@keithp.com>
Tue, 8 May 2012 04:47:17 +0000 (21:47 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 8 May 2012 04:47:17 +0000 (21:47 -0700)
commit744d05e6037ffc11688a9faa9c7b5dcda4065ee3
tree16082fd28dfb371d4d70f3c79eb7daf719ecc1b6
parentddaf501ddcfc1a5f74a1ef1b6b76e1c82d89c77a
altos: stm: share i2c_stop code between send and recv

This waits for the stop signal to appear on the bus, necessary before
starting another transaction.

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