1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

L3GD20: Update sensor task for revo to use the new queue

This commit is contained in:
James Cotton 2012-01-25 22:47:23 -06:00
parent 205aabe895
commit e4df3202e0

View File

@ -278,8 +278,6 @@ static void SensorsTask(void *parameters)
gyro_accum[0] += gyro.gyro_x; gyro_accum[0] += gyro.gyro_x;
gyro_accum[1] += gyro.gyro_y; gyro_accum[1] += gyro.gyro_y;
gyro_accum[2] += gyro.gyro_z; gyro_accum[2] += gyro.gyro_z;
read_good = PIOS_L3GD20_ReadFifo(&gyro);
} }
gyro_scaling = PIOS_L3GD20_GetScale(); gyro_scaling = PIOS_L3GD20_GetScale();