Mercurial > public > ostc4
comparison Discovery/Src/tMenuEditSystem.c @ 696:cc542448fb28
Merge
author | heinrichsweikamp |
---|---|
date | Fri, 19 Aug 2022 11:30:24 +0200 |
parents | b456be1e152d |
children | 4f70155362d2 |
comparison
equal
deleted
inserted
replaced
661:87bee7cc77b3 | 696:cc542448fb28 |
---|---|
1079 text[2] = 0; | 1079 text[2] = 0; |
1080 write_field_button(StMSYS5_SetSampleIndx, 30, 800, ME_Y_LINE3, &FontT48, text); | 1080 write_field_button(StMSYS5_SetSampleIndx, 30, 800, ME_Y_LINE3, &FontT48, text); |
1081 #endif | 1081 #endif |
1082 | 1082 |
1083 | 1083 |
1084 if(stateRealGetPointer()->lifeData.battery_charge == 0) | 1084 if(stateRealGetPointer()->lifeData.battery_charge <= 0) |
1085 { | 1085 { |
1086 text[0] = TXT_2BYTE; | 1086 text[0] = TXT_2BYTE; |
1087 text[1] = TXT2BYTE_SetBatteryCharge; | 1087 text[1] = TXT2BYTE_SetBatteryCharge; |
1088 text[2] = 0; | 1088 text[2] = 0; |
1089 snprintf(&text[2],10,": %u%%",settingsGetPointer()->lastKnownBatteryPercentage); | 1089 snprintf(&text[2],10,": %u%%",settingsGetPointer()->lastKnownBatteryPercentage); |