comparison Discovery/Src/tMenuEditSystem.c @ 103:f5d2f02dc73f kittz

Generalize TEXT of pressure unit
author Dmitry Romanov <kitt@bk.ru>
date Wed, 28 Nov 2018 09:36:33 +0300
parents 4276d56eb37c
children ee7f2cd9b9b4
comparison
equal deleted inserted replaced
102:4276d56eb37c 103:f5d2f02dc73f
1235 text_content[1] = TXT2BYTE_Korrekturwerte; 1235 text_content[1] = TXT2BYTE_Korrekturwerte;
1236 text_content[2] = 0; 1236 text_content[2] = 0;
1237 write_label_var( 20, 800, ME_Y_LINE4, &FontT42, text_content); 1237 write_label_var( 20, 800, ME_Y_LINE4, &FontT42, text_content);
1238 1238
1239 offsetTemperature = ((float)settingsGetPointer()->offsetTemperature_centigrad) / 10; 1239 offsetTemperature = ((float)settingsGetPointer()->offsetTemperature_centigrad) / 10;
1240 snprintf(text_content,80,"%i hPa / %0.2f\140C",settingsGetPointer()->offsetPressure_mbar, offsetTemperature); 1240 snprintf(text_content,80,"%i %s / %0.2f\140C",settingsGetPointer()->offsetPressure_mbar, TEXT_PRESSURE_UNIT, offsetTemperature);
1241 write_label_var( 20, 800, ME_Y_LINE5, &FontT42, text_content); 1241 write_label_var( 20, 800, ME_Y_LINE5, &FontT42, text_content);
1242 1242
1243 text_button[0] = TXT_2BYTE; 1243 text_button[0] = TXT_2BYTE;
1244 text_button[1] = TXT2BYTE_Exit; 1244 text_button[1] = TXT2BYTE_Exit;
1245 text_button[2] = 0; 1245 text_button[2] = 0;