1
0
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:
James Cotton 2012-01-24 19:48:14 -06:00
parent a25d52785b
commit 104c091590
2 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@ static void AttitudeTask(void *parameters)
} }
if(cc3d) if(cc3d)
vTaskDelayUntil(&lastSysTime, 5); vTaskDelayUntil(&lastSysTime, 3);
} }
} }

View File

@ -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 {