diff --git a/Modem/afsk.c b/Modem/afsk.c index cc4b97f..d359efc 100644 --- a/Modem/afsk.c +++ b/Modem/afsk.c @@ -83,7 +83,7 @@ INLINE uint8_t sinSample(uint16_t i) { #define PHASE_BITS 8 #define PHASE_INC 1 // FIXME: originally 1 #define PHASE_MAX (SAMPLESPERBIT * PHASE_BITS) -#define PHASE_THRESHOLD (PHASE_MAX / 4) + (PHASE_MAX / 8) // FIXME: originally /2 +#define PHASE_THRESHOLD (PHASE_MAX / 4) // FIXME: originally /2 // Modulation constants #define MARK_FREQ 1200 @@ -348,7 +348,7 @@ void afsk_adc_isr(Afsk *afsk, int8_t currentSample) { } } - // We incroment our phase counter + // We increment our phase counter afsk->currentPhase += PHASE_BITS; // Check if we have reached the end of diff --git a/Modem/main.c b/Modem/main.c index b901411..6b88dd6 100644 --- a/Modem/main.c +++ b/Modem/main.c @@ -103,7 +103,7 @@ int main(void) // and the byte is not a "transmit" (newline) character, // we should store it for transmission. if ((serialLen < MP1_MAX_FRAME_LENGTH) && (sbyte != 138)) { - kprintf("Byte: %d\n", sbyte); + //kprintf("Byte: %d\n", sbyte); // FIXME: delete // Put the read byte into the buffer; serialBuffer[serialLen] = sbyte; // Increment the read length counter diff --git a/buildrev.h b/buildrev.h index e674206..bf98b44 100644 --- a/buildrev.h +++ b/buildrev.h @@ -1,2 +1,2 @@ -#define VERS_BUILD 477 +#define VERS_BUILD 480 #define VERS_HOST "vixen"