Set the repeater relay bit when using a destination repeater

This commit is contained in:
Ed Gonzalez 2015-08-25 09:53:03 -05:00
parent de442eb75b
commit e25403d6c1

View file

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