Removed a redundant memset
This commit is contained in:
parent
02eccab75b
commit
19f5d3cd98
|
@ -547,7 +547,6 @@ bool gyroInit(void)
|
||||||
firstArmingCalibrationWasStarted = false;
|
firstArmingCalibrationWasStarted = false;
|
||||||
|
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
memset(&gyro, 0, sizeof(gyro));
|
|
||||||
gyroToUse = gyroConfig()->gyro_to_use;
|
gyroToUse = gyroConfig()->gyro_to_use;
|
||||||
|
|
||||||
#if defined(USE_DUAL_GYRO) && defined(GYRO_1_CS_PIN)
|
#if defined(USE_DUAL_GYRO) && defined(GYRO_1_CS_PIN)
|
||||||
|
|
Loading…
Reference in New Issue