# HG changeset patch # User ideenmodellierer # Date 1578847536 -3600 # Node ID e729b8e7654da599242f22d68e5fee165ac73d89 # Parent 44cb4e85864334aaadc6d45b8e98ba1cbb5cae2b Bugfix: display of time of minimum voltag: Missing call of date translation => date of charge cycle was shown diff -r 44cb4e858643 -r e729b8e7654d Discovery/Src/tMenuEditSystem.c --- a/Discovery/Src/tMenuEditSystem.c Sun Jan 05 14:57:50 2020 +0000 +++ b/Discovery/Src/tMenuEditSystem.c Sun Jan 12 17:45:36 2020 +0100 @@ -1258,6 +1258,7 @@ text_content[2] = 0; write_label_var( 20, 800, ME_Y_LINE4, &FontT42, text_content); + translateDate(stateDeviceGetPointer()->voltageMinimum.date_rtc_dr, &Sdate); voltage = ((float)stateDeviceGetPointer()->voltageMinimum.value_int32) / 1000; snprintf(text_content,80,"%0.3fV (%u.%u.20%02u)",voltage, Sdate.Date,Sdate.Month,Sdate.Year); write_label_var( 20, 800, ME_Y_LINE5, &FontT42, text_content);