mirror of
https://github.com/nasa/trick.git
synced 2024-12-29 17:38:54 +00:00
1297 civet enum (#1298)
* include freeze time tics in calculation for websocket data intervals * add enum type to web server types closes #1297
This commit is contained in:
parent
866c21d5a5
commit
284ea8521a
@ -119,6 +119,9 @@ void VariableServerVariable::writeValue( std::ostream& outs ) {
|
||||
case TRICK_UNSIGNED_SHORT:
|
||||
outs << std::dec << *(unsigned short*)stageBuffer;
|
||||
break;
|
||||
case TRICK_ENUMERATED:
|
||||
outs << std::dec << *(int*)stageBuffer;
|
||||
break;
|
||||
case TRICK_INTEGER:
|
||||
outs << std::dec << *(int*)stageBuffer;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user