From 052e7f685a1fb838aac60093405dfad0e426714d Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Wed, 25 Nov 2015 14:48:07 +0100 Subject: [PATCH] Fix in l3g4200d --- src/main/drivers/accgyro_l3g4200d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/accgyro_l3g4200d.c b/src/main/drivers/accgyro_l3g4200d.c index f4814bc679..2cc663c492 100644 --- a/src/main/drivers/accgyro_l3g4200d.c +++ b/src/main/drivers/accgyro_l3g4200d.c @@ -54,7 +54,7 @@ #define L3G4200D_DLPF_78HZ 0x80 #define L3G4200D_DLPF_93HZ 0xC0 -static void l3g4200dInit(uint16_t lpf); +static void l3g4200dInit(uint8_t lpf); static bool l3g4200dRead(int16_t *gyroADC); bool l3g4200dDetect(gyro_t *gyro) @@ -76,7 +76,7 @@ bool l3g4200dDetect(gyro_t *gyro) return true; } -static void l3g4200dInit(uint16_t lpf) +static void l3g4200dInit(uint8_t lpf) { bool ack;