Changed getPOSI to double posi

This commit is contained in:
Norman Princen
2020-04-18 12:59:49 -07:00
committed by GitHub
parent 32bff7ffe4
commit 53154e5908

View File

@@ -65,7 +65,7 @@ void record(char* path, int interval, int duration)
XPCSocket sock = openUDP("127.0.0.1"); XPCSocket sock = openUDP("127.0.0.1");
for (int i = 0; i < count; ++i) for (int i = 0; i < count; ++i)
{ {
float posi[7]; double posi[7];
int result = getPOSI(sock, posi, 0); int result = getPOSI(sock, posi, 0);
playbackSleep(interval); playbackSleep(interval);
if (result < 0) if (result < 0)