1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

fixed a parameter error in unit test

This commit is contained in:
Mauro Mombelli 2015-05-23 00:29:48 +02:00 committed by Dominic Clifton
parent a9b5ad71b2
commit 9277a8b7bf

View file

@ -586,8 +586,8 @@ bool sensorsAutodetect(sensorAlignmentConfig_t *sensorAlignmentConfig, uint16_t
{
int16_t deg, min;
memset(&acc, sizeof(acc), 0);
memset(&gyro, sizeof(gyro), 0);
memset(&acc, 0, sizeof(acc));
memset(&gyro, 0, sizeof(gyro));
if (!detectGyro(gyroLpf)) {
return false;