From 19f5d3cd984f54c3e34b3dbb5da3adf4111ac9e0 Mon Sep 17 00:00:00 2001 From: Andrey Mironov Date: Mon, 23 Jul 2018 14:14:59 +0300 Subject: [PATCH] Removed a redundant memset --- src/main/sensors/gyro.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/sensors/gyro.c b/src/main/sensors/gyro.c index 05adeb3ac..c006a2a43 100644 --- a/src/main/sensors/gyro.c +++ b/src/main/sensors/gyro.c @@ -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)