Changed decode phase window

This commit is contained in:
Mark Qvist 2014-04-07 13:28:14 +02:00
parent 648deef929
commit 84080060eb
6 changed files with 10 additions and 10 deletions

View file

@ -81,9 +81,9 @@ INLINE uint8_t sinSample(uint16_t i) {
// Phase sync constants
#define PHASE_BITS 8
#define PHASE_INC 1
#define PHASE_INC 1 // FIXME: originally 1
#define PHASE_MAX (SAMPLESPERBIT * PHASE_BITS)
#define PHASE_THRESHOLD (PHASE_MAX / 2)
#define PHASE_THRESHOLD (PHASE_MAX / 2) + (PHASE_MAX / 8) // FIXME: originally /2
// Modulation constants
#define MARK_FREQ 1200