mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-16 05:12:29 -04:00
Changed default preamble
This commit is contained in:
parent
492f8127c8
commit
fbdc47cd7a
28 changed files with 2 additions and 2 deletions
2
hardware/AFSK.c
Normal file → Executable file
2
hardware/AFSK.c
Normal file → Executable 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue