Changed default preamble

pull/3/head
Mark Qvist 2018-03-28 22:17:53 +02:00
parent 492f8127c8
commit fbdc47cd7a
28 changed files with 2 additions and 2 deletions

0
.gitignore vendored 100644 → 100755
View File

0
LICENSE 100644 → 100755
View File

0
Makefile 100644 → 100755
View File

0
README.md 100644 → 100755
View File

0
config.h 100644 → 100755
View File

0
device.h 100644 → 100755
View File

2
hardware/AFSK.c 100644 → 100755
View File

@ -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;

2
hardware/AFSK.h 100644 → 100755
View File

@ -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

0
hardware/Serial.c 100644 → 100755
View File

0
hardware/Serial.h 100644 → 100755
View File

0
images/.keepdir 100644 → 100755
View File

0
main.c 100644 → 100755
View File

View File

View File

View File

View File

0
protocol/AX25.c 100644 → 100755
View File

0
protocol/AX25.h 100644 → 100755
View File

0
protocol/HDLC.h 100644 → 100755
View File

0
protocol/KISS.c 100644 → 100755
View File

0
protocol/KISS.h 100644 → 100755
View File

0
protocol/SimpleSerial.c 100644 → 100755
View File

0
protocol/SimpleSerial.h 100644 → 100755
View File

0
util/CRC-CCIT.c 100644 → 100755
View File

0
util/CRC-CCIT.h 100644 → 100755
View File

0
util/FIFO.h 100644 → 100755
View File

0
util/constants.h 100644 → 100755
View File

0
util/time.h 100644 → 100755
View File