Hotfix: Removing GPS debug output

This commit is contained in:
Lorenz Meier
2013-05-22 17:53:17 +02:00
parent 2c94b72f10
commit 327d8751d2
+5 -5
View File
@@ -429,11 +429,11 @@ handle_message(mavlink_message_t *msg)
hil_frames += 1 ; hil_frames += 1 ;
// output // output
if ((timestamp - old_timestamp) > 10000000) { // if ((timestamp - old_timestamp) > 10000000) {
printf("receiving hil gps at %d hz\n", hil_frames/10); // printf("receiving hil gps at %d hz\n", hil_frames/10);
old_timestamp = timestamp; // old_timestamp = timestamp;
hil_frames = 0; // hil_frames = 0;
} // }
} }
if (msg->msgid == MAVLINK_MSG_ID_HIL_STATE) { if (msg->msgid == MAVLINK_MSG_ID_HIL_STATE) {