comparison Discovery/Src/tMenuEditSystem.c @ 404:e729b8e7654d Improment_NVM

Bugfix: display of time of minimum voltag: Missing call of date translation => date of charge cycle was shown
author ideenmodellierer
date Sun, 12 Jan 2020 17:45:36 +0100
parents ebc2b571a0b9
children 2b31cf1ebbcc
comparison
equal deleted inserted replaced
402:44cb4e858643 404:e729b8e7654d
1256 text_content[0] = TXT_2BYTE; 1256 text_content[0] = TXT_2BYTE;
1257 text_content[1] = TXT2BYTE_LowestVoltage; 1257 text_content[1] = TXT2BYTE_LowestVoltage;
1258 text_content[2] = 0; 1258 text_content[2] = 0;
1259 write_label_var( 20, 800, ME_Y_LINE4, &FontT42, text_content); 1259 write_label_var( 20, 800, ME_Y_LINE4, &FontT42, text_content);
1260 1260
1261 translateDate(stateDeviceGetPointer()->voltageMinimum.date_rtc_dr, &Sdate);
1261 voltage = ((float)stateDeviceGetPointer()->voltageMinimum.value_int32) / 1000; 1262 voltage = ((float)stateDeviceGetPointer()->voltageMinimum.value_int32) / 1000;
1262 snprintf(text_content,80,"%0.3fV (%u.%u.20%02u)",voltage, Sdate.Date,Sdate.Month,Sdate.Year); 1263 snprintf(text_content,80,"%0.3fV (%u.%u.20%02u)",voltage, Sdate.Date,Sdate.Month,Sdate.Year);
1263 write_label_var( 20, 800, ME_Y_LINE5, &FontT42, text_content); 1264 write_label_var( 20, 800, ME_Y_LINE5, &FontT42, text_content);
1264 1265
1265 text_button[0] = TXT_2BYTE; 1266 text_button[0] = TXT_2BYTE;