File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 174174#define MEM_TASK_STACKSIZE (2 * configMINIMAL_STACK_SIZE)
175175#define PARAM_TASK_STACKSIZE (2 * configMINIMAL_STACK_SIZE)
176176#define SENSORS_TASK_STACKSIZE (2 * configMINIMAL_STACK_SIZE)
177- #define STABILIZER_TASK_STACKSIZE (5 * configMINIMAL_STACK_SIZE)
177+ #define STABILIZER_TASK_STACKSIZE (3 * configMINIMAL_STACK_SIZE)
178178#define RATE_SUPERVISOR_TASK_STACKSIZE configMINIMAL_STACK_SIZE
179179#define NRF24LINK_TASK_STACKSIZE configMINIMAL_STACK_SIZE
180180#define ESKYLINK_TASK_STACKSIZE configMINIMAL_STACK_SIZE
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ static void sensorsTask(void *param)
322322 gyroScaledIMU .y = (gyroRaw .y - gyroBias .y ) * SENSORS_BMI088_DEG_PER_LSB_CFG ;
323323 gyroScaledIMU .z = (gyroRaw .z - gyroBias .z ) * SENSORS_BMI088_DEG_PER_LSB_CFG ;
324324 sensorsAlignToAirframe (& gyroScaledIMU , & sensorData .gyro );
325- // applyAxis3fLpf((lpf2pData*)(&gyroLpf), &sensorData.gyro);
325+ applyAxis3fLpf ((lpf2pData * )(& gyroLpf ), & sensorData .gyro );
326326
327327 measurement .type = MeasurementTypeGyroscope ;
328328 measurement .data .gyroscope .gyro = sensorData .gyro ;
@@ -334,7 +334,7 @@ static void sensorsTask(void *param)
334334 accScaledIMU .z = accelRaw .z * SENSORS_BMI088_G_PER_LSB_CFG / accScale ;
335335 sensorsAlignToAirframe (& accScaledIMU , & accScaled );
336336 sensorsAccAlignToGravity (& accScaled , & sensorData .acc );
337- // applyAxis3fLpf((lpf2pData*)(&accLpf), &sensorData.acc);
337+ applyAxis3fLpf ((lpf2pData * )(& accLpf ), & sensorData .acc );
338338
339339 measurement .type = MeasurementTypeAcceleration ;
340340 measurement .data .acceleration .acc = sensorData .acc ;
You can’t perform that action at this time.
0 commit comments