We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f3cb52 commit 7f05214Copy full SHA for 7f05214
decode/decode.go
@@ -70,7 +70,11 @@ func (d Decoder) Log() {
70
log.Println("Preamble:", d.Cfg.Preamble)
71
72
if d.Cfg.SymbolLength%d.Decimation != 0 {
73
- log.Println("Warning: decimation factor gives non-integer symbol length, sensitivity may be poor")
+ log.Println("Warning: decimated symbol length is non-integral, sensitivity may be poor")
74
+ }
75
+
76
+ if d.DecCfg.SymbolLength < 3 {
77
+ log.Fatal("Error: illegal decimation factor, choose a smaller factor")
78
}
79
80
return
0 commit comments