1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Fix in l3g4200d

This commit is contained in:
borisbstyle 2015-11-25 14:48:07 +01:00
parent 9bdf6752c0
commit 052e7f685a

View file

@ -54,7 +54,7 @@
#define L3G4200D_DLPF_78HZ 0x80 #define L3G4200D_DLPF_78HZ 0x80
#define L3G4200D_DLPF_93HZ 0xC0 #define L3G4200D_DLPF_93HZ 0xC0
static void l3g4200dInit(uint16_t lpf); static void l3g4200dInit(uint8_t lpf);
static bool l3g4200dRead(int16_t *gyroADC); static bool l3g4200dRead(int16_t *gyroADC);
bool l3g4200dDetect(gyro_t *gyro) bool l3g4200dDetect(gyro_t *gyro)
@ -76,7 +76,7 @@ bool l3g4200dDetect(gyro_t *gyro)
return true; return true;
} }
static void l3g4200dInit(uint16_t lpf) static void l3g4200dInit(uint8_t lpf)
{ {
bool ack; bool ack;