diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-25 10:05:30 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-25 10:05:30 +0100 |
commit | cc9f3a8dfd08404657465f305c6f10ca846197d9 (patch) | |
tree | 03f09b4bc77d7a6ac10e5a573ce38a146bcf8f75 /ftnoir_tracker_freepie-udp | |
parent | 1544e0730dd9066d28638dd60df3c5fc362b6c72 (diff) |
Revert "revert freepie apk change for now"
This reverts commit ee86e9367d960a7993409e4fc2f4cef1309d109b.
New .apk version released by FreePIE
Diffstat (limited to 'ftnoir_tracker_freepie-udp')
-rw-r--r-- | ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp index a0f3cf88..e92c9eec 100644 --- a/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp +++ b/ftnoir_tracker_freepie-udp/ftnoir_tracker_freepie-udp.cpp @@ -28,7 +28,6 @@ void TrackerImpl::run() { #pragma pack(push, 1) struct { uint8_t pad1; - uint8_t pad2; uint8_t flags; float fl[12]; } data; @@ -51,7 +50,7 @@ void TrackerImpl::run() { while (sock.hasPendingDatagrams()) { using t = decltype(data); - t tmp {0,0,0, {0,0,0, 0,0,0}}; + t tmp {0,0, {0,0,0, 0,0,0, 0,0,0, 0,0,0}}; (void) sock.readDatagram(reinterpret_cast<char*>(&tmp), sizeof(data)); int flags = tmp.flags & F::Mask; |