mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-01 18:29:16 +01:00
Correct the range constants for the L3GD20 driver
This commit is contained in:
parent
a25d52785b
commit
104c091590
@ -254,7 +254,7 @@ static void AttitudeTask(void *parameters)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(cc3d)
|
if(cc3d)
|
||||||
vTaskDelayUntil(&lastSysTime, 5);
|
vTaskDelayUntil(&lastSysTime, 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,8 +106,8 @@
|
|||||||
|
|
||||||
enum pios_l3gd20_range {
|
enum pios_l3gd20_range {
|
||||||
PIOS_L3GD20_SCALE_250_DEG = 0x00,
|
PIOS_L3GD20_SCALE_250_DEG = 0x00,
|
||||||
PIOS_L3GD20_SCALE_500_DEG = 0x08,
|
PIOS_L3GD20_SCALE_500_DEG = 0x10,
|
||||||
PIOS_L3GD20_SCALE_2000_DEG = 0x18
|
PIOS_L3GD20_SCALE_2000_DEG = 0x3
|
||||||
};
|
};
|
||||||
|
|
||||||
enum pios_l3gd20_filter {
|
enum pios_l3gd20_filter {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user