Emit capitalized hex in avrmlat output.
This commit is contained in:
parent
e9378fb1c5
commit
4d697ac61d
4
net_io.c
4
net_io.c
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
#include "dump1090.h"
|
#include "dump1090.h"
|
||||||
|
|
||||||
/* for PRIx64 */
|
/* for PRIX64 */
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
@ -331,7 +331,7 @@ void modesSendRawOutput(struct modesMessage *mm) {
|
||||||
|
|
||||||
if (Modes.mlat && mm->timestampMsg) {
|
if (Modes.mlat && mm->timestampMsg) {
|
||||||
/* timestamp, big-endian */
|
/* timestamp, big-endian */
|
||||||
sprintf(p, "@%012" PRIx64,
|
sprintf(p, "@%012" PRIX64,
|
||||||
mm->timestampMsg);
|
mm->timestampMsg);
|
||||||
p += 13;
|
p += 13;
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue