Skip to content

Commit

Permalink
Removed a redundant memset
Browse files Browse the repository at this point in the history
  • Loading branch information
DieHertz committed Jul 23, 2018
1 parent 02eccab commit 19f5d3c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/sensors/gyro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19f5d3c

Please sign in to comment.