comparison Discovery/Src/tMenuEditPlanner.c @ 699:01f40cb1057e

Cleanup warnings: The code still contained several warnings which have now been resolved. Big thank you to Thomas :-)
author Ideenmodellierer
date Tue, 18 Oct 2022 20:56:19 +0200
parents 52df13712fa3
children 21949c88da90
comparison
equal deleted inserted replaced
698:2c2b9c6eb089 699:01f40cb1057e
302 text[0] = TXT_2BYTE; 302 text[0] = TXT_2BYTE;
303 text[1] = TXT2BYTE_SimConsumption; 303 text[1] = TXT2BYTE_SimConsumption;
304 text[2] = 0; 304 text[2] = 0;
305 write_label_var( 20, 800, y_line, &FontT48, text); 305 write_label_var( 20, 800, y_line, &FontT48, text);
306 306
307 strncpy(text, 307 strcpy(text,
308 " " 308 " "
309 "\016\016" 309 "\016\016"
310 " l/min" 310 " l/min"
311 "\017" 311 "\017"
312 " " 312 " "
314 " deco" 314 " deco"
315 "\017" 315 "\017"
316 " " 316 " "
317 "\016\016" 317 "\016\016"
318 " l/min" 318 " l/min"
319 "\017", 319 "\017"
320 40
321 ); 320 );
322 write_label_var( 400, 800, y_line, &FontT48, text); 321 write_label_var( 400, 800, y_line, &FontT48, text);
323 322
324 write_field_udigit(StMPLAN4_Settings, 400, 800, y_line, &FontT48, "## ##", (uint32_t)travel_lbar, (uint32_t)deco_lbar, 0, 0); 323 write_field_udigit(StMPLAN4_Settings, 400, 800, y_line, &FontT48, "## ##", (uint32_t)travel_lbar, (uint32_t)deco_lbar, 0, 0);
325 // note : text max is 32 byte! -> ok and it does not like small fonts in between -> problem 324 // note : text max is 32 byte! -> ok and it does not like small fonts in between -> problem