From 2d48b584614ed3d372152328ddad0e0164c2cf00 Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Tue, 28 Jan 2020 02:31:14 -0800 Subject: [PATCH] Force a fix frequency width when possible --- ubitx_ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubitx_ui.cpp b/ubitx_ui.cpp index 30bbb84..1427402 100644 --- a/ubitx_ui.cpp +++ b/ubitx_ui.cpp @@ -230,7 +230,7 @@ void displayVFO(Vfo_e vfo){ if (VFO_A == vfo){ getButton(BUTTON_VFOA, &button); - formatFreq(globalSettings.vfoA.frequency, c+2, sizeof(c)-2); + formatFreq(globalSettings.vfoA.frequency, c+2, sizeof(c)-2, 10); if (VFO_A == globalSettings.activeVfo){ displayColor = COLOR_ACTIVE_VFO_TEXT; @@ -245,7 +245,7 @@ void displayVFO(Vfo_e vfo){ if (VFO_B == vfo){ getButton(BUTTON_VFOB, &button); - formatFreq(globalSettings.vfoB.frequency, c+2, sizeof(c)-2); + formatFreq(globalSettings.vfoB.frequency, c+2, sizeof(c)-2, 10); if (VFO_B == globalSettings.activeVfo){ displayColor = COLOR_ACTIVE_VFO_TEXT;