From d012d5e71401c9fede74aaadf4cedcc32a208110 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Sat, 8 May 2021 12:47:10 -0500 Subject: [PATCH] Change default freq print to zero decimal places --- include/hamlib/rig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 1f1c781ee..c148b4338 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -355,7 +355,7 @@ typedef double freq_t; /** * \brief printf(3) format to be used for freq_t type */ -#define PRIfreq "f" +#define PRIfreq ".0f" /** * \brief scanf(3) format to be used for freq_t type