comparison Discovery/Src/tMenu.c @ 51:8f8ea3a32e82

Resolved warnings pointing to possible invalid memory access
author Ideenmodellierer
date Tue, 31 Jul 2018 22:28:21 +0200
parents 5f11787b4f42
children cc8e24374b83
comparison
equal deleted inserted replaced
50:6310a27fd6d3 51:8f8ea3a32e82
419 } 419 }
420 */ 420 */
421 421
422 void findValidPosition(uint8_t *pageOuput, uint8_t *lineOutput) 422 void findValidPosition(uint8_t *pageOuput, uint8_t *lineOutput)
423 { 423 {
424 uint8_t page, line, first; 424 uint8_t page = 0;
425 uint8_t line = 0;
426 uint8_t first = 0;
425 427
426 *pageOuput = 0; 428 *pageOuput = 0;
427 *lineOutput = 0; 429 *lineOutput = 0;
428 430
429 /* test */ 431 /* test */
604 } 606 }
605 607
606 608
607 void tM_refresh_live_content(void) 609 void tM_refresh_live_content(void)
608 { 610 {
609 uint8_t page; 611 uint8_t page = 0;
610 char text[MAX_PAGE_TEXTSIZE]; 612 char text[MAX_PAGE_TEXTSIZE];
611 char subtext[MAX_PAGE_TEXTSIZE]; 613 char subtext[MAX_PAGE_TEXTSIZE];
612 uint16_t tabPosition; 614 uint16_t tabPosition;
613 615
614 // if(menu.modeFlipPages == 0) 616 // if(menu.modeFlipPages == 0)