1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

Removed a redundant memset

This commit is contained in:
Andrey Mironov 2018-07-23 14:14:59 +03:00
parent 02eccab75b
commit 19f5d3cd98

View file

@ -547,7 +547,6 @@ bool gyroInit(void)
firstArmingCalibrationWasStarted = false;
bool ret = false;
memset(&gyro, 0, sizeof(gyro));
gyroToUse = gyroConfig()->gyro_to_use;
#if defined(USE_DUAL_GYRO) && defined(GYRO_1_CS_PIN)