mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-18 06:10:58 -04:00
Changed decode phase window
This commit is contained in:
parent
648deef929
commit
84080060eb
6 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue