comparison Discovery/Src/tMenuDecoParameter.c @ 981:c6c781a2e85b default tip

Merge into default
author heinrichsweikamp
date Tue, 11 Feb 2025 18:12:00 +0100 (3 days ago)
parents d4622533271d
children
comparison
equal deleted inserted replaced
871:f7318457df4d 981:c6c781a2e85b
145 else 145 else
146 decotypeTxtId = TXT_ZHL16GF; 146 decotypeTxtId = TXT_ZHL16GF;
147 147
148 textPointer += snprintf(&text[textPointer], 60,\ 148 textPointer += snprintf(&text[textPointer], 60,\
149 "%c" 149 "%c"
150 "\t" 150 "\t "
151 "%c" 151 "%c"
152 , TXT_DecoAlgorithm 152 , TXT_DecoAlgorithm
153 , decotypeTxtId 153 , decotypeTxtId
154 ); 154 );
155 } 155 }
158 158
159 if((line == 0) || (line == 2)) 159 if((line == 0) || (line == 2))
160 { 160 {
161 textPointer += snprintf(&text[textPointer], 60,\ 161 textPointer += snprintf(&text[textPointer], 60,\
162 "VPM" 162 "VPM"
163 "\t" 163 "\t "
164 "+" 164 "+"
165 "%u" 165 "%u"
166 , VpmConsveratism 166 , VpmConsveratism
167 ); 167 );
168 } 168 }
174 textPointer += snprintf(&text[textPointer], 60,\ 174 textPointer += snprintf(&text[textPointer], 60,\
175 "GF" 175 "GF"
176 "\016\016" 176 "\016\016"
177 "low/high" 177 "low/high"
178 "\017" 178 "\017"
179 "\t" 179 "\t "
180 "%u" 180 "%u"
181 "/" 181 "/"
182 "%u" 182 "%u"
183 , GFlow, GFhigh 183 , GFlow, GFhigh
184 ); 184 );
191 textPointer += snprintf(&text[textPointer], 60,\ 191 textPointer += snprintf(&text[textPointer], 60,\
192 "aGF" 192 "aGF"
193 "\016\016" 193 "\016\016"
194 "low/high" 194 "low/high"
195 "\017" 195 "\017"
196 "\t" 196 "\t "
197 "%u" 197 "%u"
198 "/" 198 "/"
199 "%u" 199 "%u"
200 , aGFlow, aGFhigh 200 , aGFlow, aGFhigh
201 ); 201 );
205 205
206 if((line == 0) || (line == 5)) 206 if((line == 0) || (line == 5))
207 { 207 {
208 textPointer += snprintf(&text[textPointer], 60,\ 208 textPointer += snprintf(&text[textPointer], 60,\
209 "%c" 209 "%c"
210 "\t" 210 "\t "
211 "%u" 211 "%u"
212 "\016\016" 212 "\016\016"
213 " %c%c" 213 " %c%c"
214 "\017" 214 "\017"
215 , TXT_LastDecostop 215 , TXT_LastDecostop
218 , unit_depth_char2() 218 , unit_depth_char2()
219 ); 219 );
220 } 220 }
221 strcpy(&text[textPointer],"\n\r"); 221 strcpy(&text[textPointer],"\n\r");
222 textPointer += 2; 222 textPointer += 2;
223 if((line == 0) || (line == 6))
224 {
225 textPointer+= snprintf(&text[textPointer], 60, "%c%c\t ",TXT_2BYTE,TXT2BYTE_VpmTable);
226 if(settingsGetPointer()->VPM_conservatism.ub.alternative)
227 text[textPointer++] = '\005';
228 else
229 text[textPointer++] = '\006';
230 text[textPointer] = 0;
231 }
232 strcpy(&text[textPointer],"\n\r");
233 textPointer += 2;
223 234
224 return StMDECOP; 235 return StMDECOP;
225 } 236 }