Mercurial > public > ostc4
comparison Common/Inc/data_central.h @ 1038:677d293c669f GasConsumption
Bugfix AM/PM time:
in the previous version the AM/PM time format was not shown in the system menu and the customer Info view. To solve this problem a helper function was added which now returns a string which consideres the time format setting.
| author | Ideenmodellierer |
|---|---|
| date | Tue, 16 Sep 2025 20:13:43 +0200 |
| parents | 8c0134a287da |
| children | d91345e9c009 |
comparison
equal
deleted
inserted
replaced
| 1037:2af07aa38531 | 1038:677d293c669f |
|---|---|
| 592 | 592 |
| 593 void disableTimer(void); | 593 void disableTimer(void); |
| 594 | 594 |
| 595 uint8_t drawingColor_from_ascentspeed(float speed); | 595 uint8_t drawingColor_from_ascentspeed(float speed); |
| 596 | 596 |
| 597 void formatStringOfTime(char* pString, uint8_t strLen, RTC_TimeTypeDef Stime, uint8_t showAlive, uint8_t showSeconds); | |
| 597 void convertStringOfDate_DDMMYY(char* pString, uint8_t strLen, uint8_t day, uint8_t month, uint8_t year); | 598 void convertStringOfDate_DDMMYY(char* pString, uint8_t strLen, uint8_t day, uint8_t month, uint8_t year); |
| 598 void getStringOfFormat_DDMMYY(char* pString, uint8_t strLen); | 599 void getStringOfFormat_DDMMYY(char* pString, uint8_t strLen); |
| 599 void convertUTCToLocal(uint8_t utcHours, uint8_t utcMinutes, uint8_t* pLocalHours, uint8_t* pLocalMinutes); | 600 void convertUTCToLocal(uint8_t utcHours, uint8_t utcMinutes, uint8_t* pLocalHours, uint8_t* pLocalMinutes); |
| 600 | 601 |
| 601 uint8_t calculateSlowExit(uint16_t* pCountDownSec, float* pExitDepthMeter, uint8_t* pColor); | 602 uint8_t calculateSlowExit(uint16_t* pCountDownSec, float* pExitDepthMeter, uint8_t* pColor); |
