spark/core-firmware — pull request #127 by krbaker (2014-02-23 20:30:27+00:00)
Title: Prevent i2c reads from hanging forever on failures by adding a timeout

I've had a lot of issues with my mag3110 hanging forever during i2c reads. This patch makes the read timeout if a read takes too long. I'm a little concerned that I'm having so many issues with i2c reads but I think this is good protection anyhow. I'm not 100% sure if re-using the EVENT_TIMEOUT is the right amount of time to wait.