From 16e989c6804df00b9ab5dedce11e022f6c3e3605 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 9 Feb 2019 09:57:22 +0100 Subject: [PATCH] Cleanup --- README.md | 2 +- hardware/AFSK.h | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 64940cb..5daaa9f 100755 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -OpenModem Dev Repo +OpenModem ========== diff --git a/hardware/AFSK.h b/hardware/AFSK.h index a47a34e..7a0ac08 100755 --- a/hardware/AFSK.h +++ b/hardware/AFSK.h @@ -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