From 15fb60c48fa896b5076e3f1acafd0b2683a7d868 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 16 Feb 2018 18:20:26 -0500 Subject: [PATCH] fw_att_control delete unused loop_counter --- src/modules/fw_att_control/FixedwingAttitudeControl.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/fw_att_control/FixedwingAttitudeControl.cpp b/src/modules/fw_att_control/FixedwingAttitudeControl.cpp index 6b3f3ac2a1..c2421f1e35 100644 --- a/src/modules/fw_att_control/FixedwingAttitudeControl.cpp +++ b/src/modules/fw_att_control/FixedwingAttitudeControl.cpp @@ -407,8 +407,6 @@ void FixedwingAttitudeControl::run() fds[0].events = POLLIN; while (!should_exit()) { - static int loop_counter = 0; - /* wait for up to 500ms for data */ int pret = px4_poll(&fds[0], (sizeof(fds) / sizeof(fds[0])), 100); @@ -866,7 +864,6 @@ void FixedwingAttitudeControl::run() } } - loop_counter++; perf_end(_loop_perf); } }