summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-16 15:28:20 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-16 15:45:33 +0200
commit162e61b38794215cec932395c6019289b8310249 (patch)
tree6af5f76e763e370edc050728ed269f6155571f96
parentcba8b2ddea739fe011c3592b9f30c74cc187c614 (diff)
tracker/s2bot: fix dead code warning
Related-to: #650
-rw-r--r--tracker-s2bot/ftnoir_tracker_s2bot.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tracker-s2bot/ftnoir_tracker_s2bot.cpp b/tracker-s2bot/ftnoir_tracker_s2bot.cpp
index 63e30075..a2fb8152 100644
--- a/tracker-s2bot/ftnoir_tracker_s2bot.cpp
+++ b/tracker-s2bot/ftnoir_tracker_s2bot.cpp
@@ -28,19 +28,6 @@ static const t bound(t datum, t least, t max)
}
void tracker_s2bot::run() {
-#pragma pack(push, 1)
- struct {
- uint8_t pad1;
- uint8_t flags;
- float fl[12];
- } data;
-#pragma pack(pop)
- enum F {
- flag_Raw = 1 << 0,
- flag_Orient = 1 << 1,
- Mask = flag_Raw | flag_Orient
- };
-
if (s.freq == 0) s.freq = 10;
timer.setInterval(1000.0/s.freq);
timer.setSingleShot(false);