Skip to content

Commit

Permalink
fix AdvancedDecoder not emitting data to real time graph (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
aq1018 authored Nov 28, 2023
1 parent 5a2effe commit 9609105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/swo/decoders/advanced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class SWORTTAdvancedProcessor extends EventEmitter implements SWORTTDecod

public graphData(data: number, id: string) {
const message: GrapherDataMessage = { type: 'data', data: data, id: id };
this.emit('data', message);
this.emit('message', message);
}

public dispose() {
Expand Down

0 comments on commit 9609105

Please sign in to comment.