From 4d697ac61d8a4e846f3f322bfc0437e1a7fabe46 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Sat, 18 Apr 2015 11:20:16 +0100 Subject: [PATCH] Emit capitalized hex in avrmlat output. --- net_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net_io.c b/net_io.c index 303e300..69506f1 100644 --- a/net_io.c +++ b/net_io.c @@ -49,7 +49,7 @@ #include "dump1090.h" -/* for PRIx64 */ +/* for PRIX64 */ #include #include @@ -331,7 +331,7 @@ void modesSendRawOutput(struct modesMessage *mm) { if (Modes.mlat && mm->timestampMsg) { /* timestamp, big-endian */ - sprintf(p, "@%012" PRIx64, + sprintf(p, "@%012" PRIX64, mm->timestampMsg); p += 13; } else