summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--contrib/freepie-udp/FreePIE_IMU_Android9.apkbin0 -> 1505724 bytes
-rw-r--r--contrib/freepie-udp/com.freepie.android.imu.apkbin167989 -> 0 bytes
-rw-r--r--contrib/freepie-udp/com.wishsalad.wishimu-debug.apkbin0 -> 1547581 bytes
-rw-r--r--contrib/freepie-udp/src-WishIMU.zipbin0 -> 132960 bytes
-rw-r--r--tracker-freepie-udp/ftnoir_tracker_freepie-udp.cpp14
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
new file mode 100644
index 00000000..cab42006
--- /dev/null
+++ b/contrib/freepie-udp/FreePIE_IMU_Android9.apk
Binary files differ
diff --git a/contrib/freepie-udp/com.freepie.android.imu.apk b/contrib/freepie-udp/com.freepie.android.imu.apk
deleted file mode 100644
index b1f052aa..00000000
--- a/contrib/freepie-udp/com.freepie.android.imu.apk
+++ /dev/null
Binary files differ
diff --git a/contrib/freepie-udp/com.wishsalad.wishimu-debug.apk b/contrib/freepie-udp/com.wishsalad.wishimu-debug.apk
new file mode 100644
index 00000000..a09bd0a3
--- /dev/null
+++ b/contrib/freepie-udp/com.wishsalad.wishimu-debug.apk
Binary files differ
diff --git a/contrib/freepie-udp/src-WishIMU.zip b/contrib/freepie-udp/src-WishIMU.zip
new file mode 100644
index 00000000..f60ce3b7
--- /dev/null
+++ b/contrib/freepie-udp/src-WishIMU.zip
Binary files differ
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
{