altos: Wait for i2c START condition before setting interrupt bits
authorKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 09:46:27 +0000 (02:46 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Jun 2012 09:46:27 +0000 (02:46 -0700)
commit1a1d4a557a30e2e743936b828b654187ec562ca8
tree1d94f019af0c45ee197f9de478c1dd8aff14abfa
parent9695a217e13f9d194b6dc40e2696017e5f8e8176
altos: Wait for i2c START condition before setting interrupt bits

This seems better than the random loop that it replaces, but I still
have no idea why this is required; it doesn't coorespond to the docs
at all...

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