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:
parent
a9b5ad71b2
commit
9277a8b7bf
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue