From 87c3132618e710d4e499f64c74dfe86c65858c63 Mon Sep 17 00:00:00 2001 From: Ed Gonzalez Date: Mon, 3 Aug 2015 17:11:59 -0500 Subject: [PATCH] Make header dump more friendly by adding single quotes around string fields to be able to see spaces --- DSP_API/ThumbDV/dstar.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DSP_API/ThumbDV/dstar.c b/DSP_API/ThumbDV/dstar.c index 2c95bf6..945bdfc 100644 --- a/DSP_API/ThumbDV/dstar.c +++ b/DSP_API/ThumbDV/dstar.c @@ -500,11 +500,11 @@ void dstar_dumpHeader( DSTAR_HEADER header ) output("Flag1: 0x%08X\n", header->flag1); output("Flag2: 0x%08X\n", header->flag2); output("Flag3: 0x%08X\n", header->flag3); - output("Destination RPTR: %s\n", header->destination_rptr); - output("Departure RPTR: %s\n", header->departure_rptr); - output("Companion Call: %s\n", header->companion_call); - output("Own Call 1: %s\n", header->own_call1); - output("Own Call 2: %s\n", header->own_call2); + output("Destination RPTR: '%s'\n", header->destination_rptr); + output("Departure RPTR: '%s'\n", header->departure_rptr); + output("Companion Call: '%s'\n", header->companion_call); + output("Own Call 1: '%s'\n", header->own_call1); + output("Own Call 2: '%s'\n", header->own_call2); } void dstar_headerToBytes(DSTAR_HEADER header, unsigned char * bytes)