From 9609105d98782ae4af72ee8a402a5b98989fb52d Mon Sep 17 00:00:00 2001 From: Aaron Qian Date: Tue, 28 Nov 2023 08:49:48 -0800 Subject: [PATCH] fix AdvancedDecoder not emitting data to real time graph (#961) --- src/frontend/swo/decoders/advanced.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/swo/decoders/advanced.ts b/src/frontend/swo/decoders/advanced.ts index fcea40fc..042b099b 100644 --- a/src/frontend/swo/decoders/advanced.ts +++ b/src/frontend/swo/decoders/advanced.ts @@ -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() {