mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-03 15:05:12 -04:00
Cleanup
This commit is contained in:
parent
ae0a53d9eb
commit
16e989c680
2 changed files with 2 additions and 7 deletions
|
@ -1,2 +1,2 @@
|
|||
OpenModem Dev Repo
|
||||
OpenModem
|
||||
==========
|
||||
|
|
|
@ -129,20 +129,15 @@ inline static uint8_t sinSample(uint16_t i) {
|
|||
#define DCD_TIMEOUT_SAMPLES CONFIG_ADC_SAMPLERATE/100
|
||||
#define DCD_MIN_COUNT CONFIG_ADC_SAMPLERATE/1600
|
||||
#endif
|
||||
|
||||
// TODO: Revamp filtering
|
||||
|
||||
#if BITRATE == 1200
|
||||
#define FILTER_CUTOFF 500
|
||||
#define MARK_FREQ 1200
|
||||
#define SPACE_FREQ 2200
|
||||
#elif BITRATE == 2400
|
||||
// TODO: Determine best filter cutoff
|
||||
// #define FILTER_CUTOFF 772
|
||||
#define FILTER_CUTOFF 1000
|
||||
#define MARK_FREQ 2165
|
||||
#define SPACE_FREQ 3970
|
||||
//#define MARK_FREQ 2200
|
||||
//#define SPACE_FREQ 4000
|
||||
#elif BITRATE == 300
|
||||
#define FILTER_CUTOFF 500
|
||||
#define MARK_FREQ 1600
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue