comparison Discovery/Src/tMenuDeco.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 1b995079c045
comparison
equal deleted inserted replaced
50:6310a27fd6d3 51:8f8ea3a32e82
65 divemode = TXT_Gauge; 65 divemode = TXT_Gauge;
66 break; 66 break;
67 case DIVEMODE_Apnea: 67 case DIVEMODE_Apnea:
68 divemode = TXT_Apnoe; 68 divemode = TXT_Apnoe;
69 break; 69 break;
70 default :
71 divemode = TXT_OpenCircuit;
72 break;
70 } 73 }
71 textPointer += snprintf(&text[textPointer], 60,\ 74 textPointer += snprintf(&text[textPointer], 60,\
72 "%c" 75 "%c"
73 "\t" 76 "\t"
74 "%c" 77 "%c"