changeset 48:043c89d3ea58

dump-ubx: flush standard output after each message Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Thu, 16 Jan 2020 12:37:57 -0500
parents 359e7e8ef8d8
children cf39d3a8140b
files dump-ubx.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dump-ubx.c	Thu Jan 16 12:37:15 2020 -0500
+++ b/dump-ubx.c	Thu Jan 16 12:37:57 2020 -0500
@@ -38,4 +38,6 @@
 	ret = xfwrite(stdout, raw, len + 2); /* +2 for the checksum */
 	if (ret)
 		fprintf(stderr, "Error: Failed to write out UBX data\n");
+
+	fflush(stdout);
 }