comparison Discovery/Src/tInfo.c @ 1035:5b913cdaa9dc Puls_Integration

Degub message logger: Added functionality to handle logger view (in case it is enabled via compile switch) like a normal t7 custom view.
author Ideenmodellierer
date Sat, 09 Aug 2025 16:55:20 +0200
parents cd4561c33758
children
comparison
equal deleted inserted replaced
1034:195bfbdf961d 1035:5b913cdaa9dc
226 break; 226 break;
227 case StIPREDIVE: tIscreen.FBStartAdress = getFrame(14); 227 case StIPREDIVE: tIscreen.FBStartAdress = getFrame(14);
228 infoColor = CLUT_MenuPageGasCC; 228 infoColor = CLUT_MenuPageGasCC;
229 refreshInfo_PreDive(tIscreen); 229 refreshInfo_PreDive(tIscreen);
230 break; 230 break;
231 #ifdef ENABLE_LOGGER_WINDOW
231 case StILOGGER: tIscreen.FBStartAdress = getFrame(14); 232 case StILOGGER: tIscreen.FBStartAdress = getFrame(14);
232 infoColor = CLUT_MenuPageCvOption; 233 infoColor = CLUT_MenuPageCvOption;
233 refreshInfo_Logger(tIscreen); 234 refreshInfo_Logger(tIscreen);
234 break; 235 break;
236 #endif
235 237
236 default: 238 default:
237 break; 239 break;
238 } 240 }
239 } 241 }
259 { 261 {
260 releaseFrame(14,tIscreen.FBStartAdress); 262 releaseFrame(14,tIscreen.FBStartAdress);
261 exitMenuEdit_to_BackMenu(); 263 exitMenuEdit_to_BackMenu();
262 } 264 }
263 265
266 void exitInfoSilent(void) /* no changes were done on info screen => just free buffer */
267 {
268 releaseFrame(14,tIscreen.FBStartAdress);
269 updateMenu();
270 }
264 271
265 void sendActionToInfo(uint8_t sendAction) 272 void sendActionToInfo(uint8_t sendAction)
266 { 273 {
267 if(inDebugMode()) 274 if(inDebugMode())
268 { 275 {