From fbdc47cd7a44d2fe0f034fb5146dcd0f41ca8874 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 28 Mar 2018 22:17:53 +0200 Subject: [PATCH] Changed default preamble --- .gitignore | 0 LICENSE | 0 Makefile | 0 README.md | 0 config.h | 0 device.h | 0 hardware/AFSK.c | 2 +- hardware/AFSK.h | 2 +- hardware/Serial.c | 0 hardware/Serial.h | 0 images/.keepdir | 0 main.c | 0 precompiled/microaprs-3v-kiss-latest.hex | 0 precompiled/microaprs-3v-ss-latest.hex | 0 precompiled/microaprs-5v-kiss-latest.hex | 0 precompiled/microaprs-5v-ss-latest.hex | 0 protocol/AX25.c | 0 protocol/AX25.h | 0 protocol/HDLC.h | 0 protocol/KISS.c | 0 protocol/KISS.h | 0 protocol/SimpleSerial.c | 0 protocol/SimpleSerial.h | 0 util/CRC-CCIT.c | 0 util/CRC-CCIT.h | 0 util/FIFO.h | 0 util/constants.h | 0 util/time.h | 0 28 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 LICENSE mode change 100644 => 100755 Makefile mode change 100644 => 100755 README.md mode change 100644 => 100755 config.h mode change 100644 => 100755 device.h mode change 100644 => 100755 hardware/AFSK.c mode change 100644 => 100755 hardware/AFSK.h mode change 100644 => 100755 hardware/Serial.c mode change 100644 => 100755 hardware/Serial.h mode change 100644 => 100755 images/.keepdir mode change 100644 => 100755 main.c mode change 100644 => 100755 precompiled/microaprs-3v-kiss-latest.hex mode change 100644 => 100755 precompiled/microaprs-3v-ss-latest.hex mode change 100644 => 100755 precompiled/microaprs-5v-kiss-latest.hex mode change 100644 => 100755 precompiled/microaprs-5v-ss-latest.hex mode change 100644 => 100755 protocol/AX25.c mode change 100644 => 100755 protocol/AX25.h mode change 100644 => 100755 protocol/HDLC.h mode change 100644 => 100755 protocol/KISS.c mode change 100644 => 100755 protocol/KISS.h mode change 100644 => 100755 protocol/SimpleSerial.c mode change 100644 => 100755 protocol/SimpleSerial.h mode change 100644 => 100755 util/CRC-CCIT.c mode change 100644 => 100755 util/CRC-CCIT.h mode change 100644 => 100755 util/FIFO.h mode change 100644 => 100755 util/constants.h mode change 100644 => 100755 util/time.h diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/config.h b/config.h old mode 100644 new mode 100755 diff --git a/device.h b/device.h old mode 100644 new mode 100755 diff --git a/hardware/AFSK.c b/hardware/AFSK.c old mode 100644 new mode 100755 index 05f89e7..5ebac93 --- a/hardware/AFSK.c +++ b/hardware/AFSK.c @@ -440,7 +440,7 @@ void AFSK_adc_isr(Afsk *afsk, int8_t currentSample) { afsk->actualBits <<= 1; // We determine the actual bit value by reading - // the last 3 sampled bits. If there is three or + // the last 3 sampled bits. If there is two or // more 1's, we will assume that the transmitter // sent us a one, otherwise we assume a zero uint8_t bits = afsk->sampledBits & 0x07; diff --git a/hardware/AFSK.h b/hardware/AFSK.h old mode 100644 new mode 100755 index cd2fc92..7a385aa --- a/hardware/AFSK.h +++ b/hardware/AFSK.h @@ -42,7 +42,7 @@ inline static uint8_t sinSample(uint16_t i) { #define CONFIG_AFSK_RX_BUFLEN 64 #define CONFIG_AFSK_TX_BUFLEN 64 #define CONFIG_AFSK_RXTIMEOUT 0 -#define CONFIG_AFSK_PREAMBLE_LEN 150UL +#define CONFIG_AFSK_PREAMBLE_LEN 200UL #define CONFIG_AFSK_TRAILER_LEN 50UL #define BIT_STUFF_LEN 5 diff --git a/hardware/Serial.c b/hardware/Serial.c old mode 100644 new mode 100755 diff --git a/hardware/Serial.h b/hardware/Serial.h old mode 100644 new mode 100755 diff --git a/images/.keepdir b/images/.keepdir old mode 100644 new mode 100755 diff --git a/main.c b/main.c old mode 100644 new mode 100755 diff --git a/precompiled/microaprs-3v-kiss-latest.hex b/precompiled/microaprs-3v-kiss-latest.hex old mode 100644 new mode 100755 diff --git a/precompiled/microaprs-3v-ss-latest.hex b/precompiled/microaprs-3v-ss-latest.hex old mode 100644 new mode 100755 diff --git a/precompiled/microaprs-5v-kiss-latest.hex b/precompiled/microaprs-5v-kiss-latest.hex old mode 100644 new mode 100755 diff --git a/precompiled/microaprs-5v-ss-latest.hex b/precompiled/microaprs-5v-ss-latest.hex old mode 100644 new mode 100755 diff --git a/protocol/AX25.c b/protocol/AX25.c old mode 100644 new mode 100755 diff --git a/protocol/AX25.h b/protocol/AX25.h old mode 100644 new mode 100755 diff --git a/protocol/HDLC.h b/protocol/HDLC.h old mode 100644 new mode 100755 diff --git a/protocol/KISS.c b/protocol/KISS.c old mode 100644 new mode 100755 diff --git a/protocol/KISS.h b/protocol/KISS.h old mode 100644 new mode 100755 diff --git a/protocol/SimpleSerial.c b/protocol/SimpleSerial.c old mode 100644 new mode 100755 diff --git a/protocol/SimpleSerial.h b/protocol/SimpleSerial.h old mode 100644 new mode 100755 diff --git a/util/CRC-CCIT.c b/util/CRC-CCIT.c old mode 100644 new mode 100755 diff --git a/util/CRC-CCIT.h b/util/CRC-CCIT.h old mode 100644 new mode 100755 diff --git a/util/FIFO.h b/util/FIFO.h old mode 100644 new mode 100755 diff --git a/util/constants.h b/util/constants.h old mode 100644 new mode 100755 diff --git a/util/time.h b/util/time.h old mode 100644 new mode 100755