From 9f39cad2f94255f1554e51b13df0ea07ca2d2583 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Mon, 12 May 2014 00:17:41 +0100 Subject: [PATCH] Disable L3GD20 debug output. --- src/drivers/accgyro_l3gd20.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/accgyro_l3gd20.c b/src/drivers/accgyro_l3gd20.c index 809546c96..1a3997d1c 100644 --- a/src/drivers/accgyro_l3gd20.c +++ b/src/drivers/accgyro_l3gd20.c @@ -223,7 +223,7 @@ static void l3gd20GyroRead(int16_t *gyroData) gyroData[1] = (int16_t)((buf[2] << 8) | buf[3]) / 8; gyroData[2] = (int16_t)((buf[4] << 8) | buf[5]) / 8; -#if 1 +#if 0 debug[0] = (int16_t)((buf[1] << 8) | buf[0]); debug[1] = (int16_t)((buf[3] << 8) | buf[2]); debug[2] = (int16_t)((buf[5] << 8) | buf[4]);