Skip to content

Commit

Permalink
Fix bug in adding delta to packet state on frontend (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
aywaldron committed Oct 18, 2019
1 parent 5eadf50 commit c67d911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ait/gui/static/js/ait/tlm.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ class TelemetryStream
if ( Object.keys(delta).length !== 0 ) {
console.log('adding delta to pkt state')
for ( var field in delta ) {
this._pkt_states[packet_name][field] = this._pkt_states[packet_name][field] + delta[field]
this._pkt_states[packet_name][field] = delta[field]
}
}
this._counters[packet_name] = counter
Expand Down

0 comments on commit c67d911

Please sign in to comment.