diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2019-09-01 15:38:16 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2019-11-29 15:58:32 +0100 |
commit | 6dcc8baad448d000ef355abc6d9abf7a3490a800 (patch) | |
tree | d46e472ec720c369071e49398783630d16f47bb2 /src/r2000/r2000.h | |
parent | 360729d27034a3fe684b4a2ddea516d027dab935 (diff) |
Split FSK modem code into separate modulator and demodulator
Diffstat (limited to 'src/r2000/r2000.h')
-rw-r--r-- | src/r2000/r2000.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/r2000/r2000.h b/src/r2000/r2000.h index 2efd3f3..edfdffe 100644 --- a/src/r2000/r2000.h +++ b/src/r2000/r2000.h @@ -85,7 +85,8 @@ typedef struct r2000 { /* dsp states */ enum dsp_mode dsp_mode; /* current mode: audio, durable tone 0 or 1, paging */ - fsk_t fsk; /* fsk processing */ + fsk_mod_t fsk_mod; /* fsk processing */ + fsk_demod_t fsk_demod; char tx_frame[208]; /* carries bits of one frame to transmit */ int tx_frame_length; int tx_frame_pos; @@ -102,7 +103,8 @@ typedef struct r2000 { uint64_t rx_bits_count_last; /* sample counter of last frame */ /* supervisory dsp states */ - fsk_t super_fsk; /* fsk processing */ + fsk_mod_t super_fsk_mod; /* fsk processing */ + fsk_demod_t super_fsk_demod; uint32_t super_tx_word; /* supervisory info to transmit */ int super_tx_word_length; int super_tx_word_pos; |