mirror of
https://github.com/nasa/trick.git
synced 2025-02-06 10:59:27 +00:00
MTV/variable server crashes if checkpoint has less malfunctions then currently running sim
Added a case statement for the bad ref type to the binary data handler. We handle a bad ref as an integer, because that is what the sim sends us. This fixes MTV. refs #117
This commit is contained in:
parent
c11f04644c
commit
80b8f99723
@ -388,6 +388,7 @@ public class VariableServerConnection implements AutoCloseable {
|
|||||||
case 6 : // INT
|
case 6 : // INT
|
||||||
case 7 : // UNSIGNED INT
|
case 7 : // UNSIGNED INT
|
||||||
case 21 : // ENUMERATED
|
case 21 : // ENUMERATED
|
||||||
|
case 24 : // BAD REF
|
||||||
//typename = "INT";
|
//typename = "INT";
|
||||||
ival = (int)convertBinaryData(buffer, index, 4);
|
ival = (int)convertBinaryData(buffer, index, 4);
|
||||||
vals[packet_count] += ival;
|
vals[packet_count] += ival;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user