mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Fix in l3g4200d
This commit is contained in:
parent
9bdf6752c0
commit
052e7f685a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue