diff options
-rw-r--r-- | contrib/freepie-udp/FreePIE_IMU_Android9.apk | bin | 0 -> 1505724 bytes | |||
-rw-r--r-- | contrib/freepie-udp/com.freepie.android.imu.apk | bin | 167989 -> 0 bytes | |||
-rw-r--r-- | contrib/freepie-udp/com.wishsalad.wishimu-debug.apk | bin | 0 -> 1547581 bytes | |||
-rw-r--r-- | contrib/freepie-udp/src-WishIMU.zip | bin | 0 -> 132960 bytes | |||
-rw-r--r-- | tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp | 14 |
5 files changed, 4 insertions, 10 deletions
diff --git a/contrib/freepie-udp/FreePIE_IMU_Android9.apk b/contrib/freepie-udp/FreePIE_IMU_Android9.apk Binary files differnew file mode 100644 index 00000000..cab42006 --- /dev/null +++ b/contrib/freepie-udp/FreePIE_IMU_Android9.apk diff --git a/contrib/freepie-udp/com.freepie.android.imu.apk b/contrib/freepie-udp/com.freepie.android.imu.apk Binary files differdeleted file mode 100644 index b1f052aa..00000000 --- a/contrib/freepie-udp/com.freepie.android.imu.apk +++ /dev/null diff --git a/contrib/freepie-udp/com.wishsalad.wishimu-debug.apk b/contrib/freepie-udp/com.wishsalad.wishimu-debug.apk Binary files differnew file mode 100644 index 00000000..a09bd0a3 --- /dev/null +++ b/contrib/freepie-udp/com.wishsalad.wishimu-debug.apk diff --git a/contrib/freepie-udp/src-WishIMU.zip b/contrib/freepie-udp/src-WishIMU.zip Binary files differnew file mode 100644 index 00000000..f60ce3b7 --- /dev/null +++ b/contrib/freepie-udp/src-WishIMU.zip diff --git a/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp b/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp index 28d29351..c9d374ed 100644 --- a/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp +++ b/tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp @@ -17,21 +17,15 @@ tracker_freepie::~tracker_freepie() } void tracker_freepie::run() { -#ifndef __clang__ -#pragma pack(push) -struct -#else -struct __attribute__((packed)) -#endif -{ +#pragma pack(push, 1) + struct { uint8_t pad1; uint8_t flags; float fl[12]; -} data; -#ifndef __clang__ + } data; #pragma pack(pop) -#endif + static_assert(sizeof(data) == 50); enum F { |