Browse Source

AP_Mount: fixed valgrind error with gimbal code

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
1400d0155c
  1. 1
      libraries/AP_Mount/AP_Gimbal.h

1
libraries/AP_Mount/AP_Gimbal.h

@ -35,6 +35,7 @@ public: @@ -35,6 +35,7 @@ public:
yawErrorLimit(0.1f)
{
_compid = compid;
memset(&_report_msg, 0, sizeof(_report_msg));
}
void update_target(Vector3f newTarget);

Loading…
Cancel
Save