Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditSystem.c @ 416:bcf447646e07
Merged in Ideenmodellierer/ostc4/Improment_NVM (pull request #37)
Improment NVM
| author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
|---|---|
| date | Wed, 15 Jan 2020 10:53:15 +0000 |
| parents | e729b8e7654d |
| children | 2b31cf1ebbcc |
comparison
equal
deleted
inserted
replaced
| 403:6f30f2011667 | 416:bcf447646e07 |
|---|---|
| 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; |
