X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fdrivers%2Fao_mma655x.c;h=005bc68461bb27d8fa146e51aa6b05970937e8c4;hp=0642220669d25a7f932230efed3001179b73686e;hb=2cac8c572ce533ded89dae9a412b4d1b5c748342;hpb=ec9e1186dce079a2f2b7be8050216ddb1bc1af66 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