diff --git a/DigestPlay.c b/DigestPlay.c index fca573e..51f858b 100644 --- a/DigestPlay.c +++ b/DigestPlay.c @@ -23,9 +23,7 @@ #define COUNT(array) sizeof(array) / sizeof(array[0]) -#define BUFFER_SIZE 128 -#define ATTEMPT_COUNT 5 - +#define BUFFER_SIZE 64 #define CLIENT_NAME "DigestPlay " STRING(VERSION) " " BUILD int main(int argc, char* argv[]) @@ -234,12 +232,14 @@ int main(int argc, char* argv[]) count ++; } - // Clean up + // Transmit call terminator + TransmitRewindData(context, REWIND_TYPE_DMR_DATA_BASE + 2, REWIND_FLAG_REAL_TIME_1, NULL, 0); - printf("Done\n"); + // Clean up TransmitRewindCloae(context); ReleaseRewindContext(context); + printf("Done\n"); return EXIT_SUCCESS; };