From 3340fa079e87bacc8b248b8ec41ec6187e792f63 Mon Sep 17 00:00:00 2001 From: mt3571 Date: Tue, 1 Dec 2020 14:09:59 +0000 Subject: [PATCH] Added in a check to allow Manchester encoded things to be detected by magic --- src/core/operations/ManchesterDecode.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/operations/ManchesterDecode.mjs b/src/core/operations/ManchesterDecode.mjs index bfde046a..d71bfd53 100644 --- a/src/core/operations/ManchesterDecode.mjs +++ b/src/core/operations/ManchesterDecode.mjs @@ -25,6 +25,13 @@ class ManchesterDecode extends Operation { this.inputType = "string"; this.outputType = "string"; this.args = []; + this.checks = [ + { + pattern: "(01|10)*", + flags: "", + args: [] + } + ]; } /**