CF/BF - Fix AK8963 mag broken by
commit3be9b63b7cd043fc51ec18656b988264d7d73789
authorHydra <dominic.clifton@cleanflight.com>
Sun, 2 Apr 2017 15:26:58 +0000 (2 16:26 +0100)
committerDominic Clifton <dominic.clifton@cleanflight.com>
Sun, 2 Apr 2017 15:34:01 +0000 (2 16:34 +0100)
treedfe53675f84dd54e295a1ae34f984e4c9e9ab997
parente6d84112e7b9d0412ba06156cabe4cd32b27b70a
CF/BF - Fix AK8963 mag broken by
60c2b812d1113818948e9983bd5fb10053970f16.

I think the cause of the broken commit was a search/replace failure
since SPI WRITES were replaced with I2C WRITES to a NULL I2C device.

This is a quick hack to get things working again, no-doubt @martinbudden
will want to inspect the changes and make appropriate changes.
src/main/drivers/compass_ak8963.c