Skip to content

Commit ded0d20

Browse files
committed
chore: remove probe wide handler
1 parent 8ee5c02 commit ded0d20

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/SourcePlusPlus.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,8 @@ namespace SourcePlusPlus {
163163
}
164164

165165
function registerRemotes(eventBus: EventBus) {
166-
eventBus.registerHandler("spp.probe.command.live-instrument-remote", {}, (err, message) => {
167-
debugLog("Received probe-wide instrument command: " + JSON.stringify(message.body));
168-
liveInstrumentRemote.handleInstrumentCommand(
169-
LiveInstrumentCommand.fromJson(message.body));
170-
});
171166
eventBus.registerHandler(`spp.probe.command.live-instrument-remote:${probeConfig.spp.probe_id}`, {}, (err, message) => {
172-
debugLog("Received probe-specific instrument command: " + JSON.stringify(message.body));
167+
debugLog("Received instrument command: " + JSON.stringify(message.body));
173168
liveInstrumentRemote.handleInstrumentCommand(
174169
LiveInstrumentCommand.fromJson(message.body));
175170
});

0 commit comments

Comments
 (0)