mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-04-04 13:57:32 +00:00
Add mechanism that allows the waveform to know when the radio is unkeying.
This is needed so that DSTAR can encode it's end bits.
This commit is contained in:
parent
edd809c269
commit
c742d3b3ff
3 changed files with 17 additions and 0 deletions
|
|
@ -201,6 +201,9 @@ static int _dv_serial_fd = 0;
|
|||
static GMSK_DEMOD _gmsk_demod = NULL;
|
||||
static GMSK_MOD _gmsk_mod = NULL;
|
||||
static DSTAR_MACHINE _dstar = NULL;
|
||||
static _end_of_transmission = FALSE;
|
||||
|
||||
|
||||
|
||||
#define FREEDV_NSAMPLES 160
|
||||
|
||||
|
|
@ -345,6 +348,12 @@ void sched_waveform_setFD(int fd)
|
|||
_dv_serial_fd = fd;
|
||||
}
|
||||
|
||||
void sched_waveform_setEndOfTX(BOOL end_of_transmission)
|
||||
{
|
||||
_end_of_transmission = TRUE;
|
||||
}
|
||||
|
||||
|
||||
static void* _sched_waveform_thread(void* param)
|
||||
{
|
||||
int nout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue