mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +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)
|
||||
vTaskDelayUntil(&lastSysTime, 5);
|
||||
vTaskDelayUntil(&lastSysTime, 3);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -106,8 +106,8 @@
|
||||
|
||||
enum pios_l3gd20_range {
|
||||
PIOS_L3GD20_SCALE_250_DEG = 0x00,
|
||||
PIOS_L3GD20_SCALE_500_DEG = 0x08,
|
||||
PIOS_L3GD20_SCALE_2000_DEG = 0x18
|
||||
PIOS_L3GD20_SCALE_500_DEG = 0x10,
|
||||
PIOS_L3GD20_SCALE_2000_DEG = 0x3
|
||||
};
|
||||
|
||||
enum pios_l3gd20_filter {
|
||||
|
Loading…
Reference in New Issue
Block a user