Fix HYSTERESIS_LIMIT being on the wrong scale.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 11 Mar 2015 21:31:16 +0000 (22:31 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 11 Mar 2015 21:31:16 +0000 (22:31 +0100)
decode.cpp

index ec95faa..c547311 100644 (file)
@@ -11,7 +11,7 @@
 #include "tap.h"
 
 #define BUFSIZE 4096
-#define HYSTERESIS_LIMIT 3000
+#define HYSTERESIS_LIMIT (3000/32768.0)
 #define C64_FREQUENCY 985248
 
 #define SYNC_PULSE_START 1000