Fixed some more stuff

This commit is contained in:
2014-01-23 15:22:54 +01:00
parent c51d8dba5f
commit dedb9b62fd
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>ch.psi</groupId>
<artifactId>ch.psi.fda.fdaq</artifactId>
<version>1.0.6</version>
<version>1.0.8</version>
<dependencies>
<dependency>
@@ -84,8 +84,7 @@ public class FdaqService {
// Integers
bytebuffer.order(ByteOrder.LITTLE_ENDIAN);
bytebuffer.putInt(26);
// bytebuffer.putInt(numberOfElements);
bytebuffer.putInt(16000);
bytebuffer.putInt(numberOfElements);
out.write(bytebuffer.array());
out.flush();
@@ -143,9 +142,6 @@ public class FdaqService {
throw new RuntimeException(e);
}
} finally {
// bus.post(new EndOfStreamMessage());
try {
out.close();
in.close();
@@ -153,8 +149,6 @@ public class FdaqService {
} catch (IOException e) {
// Ignore because not relevant at this stage
}
running = false;
}
}