summaryrefslogtreecommitdiff
path: root/src/drivers/ao_mma655x.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-03 10:43:28 -0700
committerKeith Packard <keithp@keithp.com>2012-10-03 10:43:28 -0700
commit2cac8c572ce533ded89dae9a412b4d1b5c748342 (patch)
tree6f7d7880f7b32d6bf60c422b2a11f4b8e21e4ecd /src/drivers/ao_mma655x.c
parentfdd08cc093134c5f87dab9533b99a042a699381b (diff)
altos: Re-enable the ms5607 and mma655x acquisition threads
These were disabled to help with testing in Argonia Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_mma655x.c')
-rw-r--r--src/drivers/ao_mma655x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/ao_mma655x.c b/src/drivers/ao_mma655x.c
index 06422206..005bc684 100644
--- a/src/drivers/ao_mma655x.c
+++ b/src/drivers/ao_mma655x.c
@@ -20,7 +20,7 @@
#if HAS_MMA655X
-#if 1
+#if 0
#define PRINTD(...) do { printf ("\r%5u %s: ", ao_tick_count, __func__); printf(__VA_ARGS__); } while(0)
#else
#define PRINTD(...)
@@ -273,7 +273,7 @@ ao_mma655x_init(void)
ao_cmd_register(&ao_mma655x_cmds[0]);
ao_spi_init_cs(AO_MMA655X_CS_PORT, (1 << AO_MMA655X_CS_PIN));
-// ao_add_task(&ao_mma655x_task, ao_mma655x, "mma655x");
+ ao_add_task(&ao_mma655x_task, ao_mma655x, "mma655x");
}
#endif