mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-04-05 06:15:18 +00:00
Set the repeater relay bit when using a destination repeater
This commit is contained in:
parent
de442eb75b
commit
e25403d6c1
1 changed files with 5 additions and 0 deletions
|
|
@ -239,6 +239,11 @@ void sched_waveform_setDestinationRptr(uint32 slice , const char * destination_r
|
|||
/* Enforce termination */
|
||||
_dstar->outgoing_header.destination_rptr[8] = '\0';
|
||||
|
||||
if ( strncmp(_dstar->outgoing_header.destination_rptr, "DIRECT", strlen("DIRECT")) != 0 ) {
|
||||
output("WOOT\n");
|
||||
_dstar->outgoing_header.flag1 = 0x1 << 6;
|
||||
}
|
||||
|
||||
dstar_dumpHeader(&(_dstar->outgoing_header));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue