From 388c9594686b3d8d75888a538433476a00875caf Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 27 Nov 2020 20:52:14 +0100 Subject: [PATCH] change time to hours and minutes (no short-hand) --- src/helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers.cpp b/src/helpers.cpp index 9c6672890..99762d31f 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -294,9 +294,9 @@ char * Helpers::render_value(char * result, const uint32_t value, const uint8_t result[0] = '\0'; - // check if we're converted from minutes to a time + // check if we're converting from minutes to a time string if (format == EMS_VALUE_TIME) { - snprintf_P(result, 40, PSTR("%d days %d hrs %d mins"), (value / 1440), ((value % 1440) / 60), (value % 60)); + snprintf_P(result, 40, PSTR("%d days %d hours %d minutes"), (value / 1440), ((value % 1440) / 60), (value % 60)); return result; }