summaryrefslogtreecommitdiff
path: root/src/megametrum-v0.1/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-06-27 23:04:25 -0700
committerKeith Packard <keithp@keithp.com>2012-06-27 23:04:25 -0700
commitf9f65211c378849270a6138fda05ed2a166f7d82 (patch)
treea84c31130314ff016e74877d3203c5b7377314ca /src/megametrum-v0.1/ao_pins.h
parentdd623b21cb904238c6d903b6936ff2f8ebf6f339 (diff)
altos: Disable mag sensor for megametrum
It doesn't work unless USB is connected or occasionally while the debug port is enabled. It's mystic. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/megametrum-v0.1/ao_pins.h')
-rw-r--r--src/megametrum-v0.1/ao_pins.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/megametrum-v0.1/ao_pins.h b/src/megametrum-v0.1/ao_pins.h
index 1d2051e1..dc3761ba 100644
--- a/src/megametrum-v0.1/ao_pins.h
+++ b/src/megametrum-v0.1/ao_pins.h
@@ -286,7 +286,7 @@ struct ao_adc {
* Mag sensor (hmc5883)
*/
-#define HAS_HMC5883 1
+#define HAS_HMC5883 0
#define AO_HMC5883_INT_PORT (&stm_gpioc)
#define AO_HMC5883_INT_PIN 12
#define AO_HMC5883_I2C_INDEX STM_I2C_INDEX(1)