comparison Discovery/Inc/tStructure.h @ 1027:158100a84ebd GasConsumption

New profile feature: In the past the OSTC provide just one instance for settings. If for example a diver switched from OC to CCR configuration several settings had to be modified. To improve this and to be more flexible in adapting the OSTC to differend dive scenarions the usage of up to 4 profiles has beem introduced. The profiles are copies of the common settings but stored in a separate, previously not used, flash section => no impact to existings settings handling. For access to the profiles the existing setting flash functions are reused. To enable this a parameter war introduced which defines the target of the operation (common settings or profiles).
author Ideenmodellierer
date Sun, 07 Sep 2025 19:03:44 +0200
parents 5924a2d1d3ba
children 2af07aa38531
comparison
equal deleted inserted replaced
1026:5fedf7ba2392 1027:158100a84ebd
311 #define StMSYS1_YYMMDD _MB(2,8,1,3,3) 311 #define StMSYS1_YYMMDD _MB(2,8,1,3,3)
312 #define StMSYS1_12HR _MB(2,8,1,4,0) 312 #define StMSYS1_12HR _MB(2,8,1,4,0)
313 #define StMSYS1_GNSSDT _MB(2,8,1,5,0) 313 #define StMSYS1_GNSSDT _MB(2,8,1,5,0)
314 #define StMSYS1_ZONE _MB(2,8,1,6,0) 314 #define StMSYS1_ZONE _MB(2,8,1,6,0)
315 315
316 #define StMSYS2_English _MB(2,8,2,1,0) 316 #define StMSYS_Profile _MB(2,8,2,0,0)
317 #define StMSYS2_German _MB(2,8,2,2,0) 317 #define StMSYS_ProfileA _MB(2,8,2,1,0)
318 #define StMSYS2_French _MB(2,8,2,3,0) 318 #define StMSYS_ProfileB _MB(2,8,2,2,0)
319 #define StMSYS2_Italian _MB(2,8,2,4,0) 319 #define StMSYS_ProfileC _MB(2,8,2,3,0)
320 #define StMSYS2_Espanol _MB(2,8,2,5,0) 320 #define StMSYS_ProfileD _MB(2,8,2,4,0)
321 321
322 #define StMSYS3_Units _MB(2,8,3,1,0) 322 #define StMSYS2_English _MB(2,8,3,1,0)
323 #define StMSYS3_Colors _MB(2,8,3,2,0) 323 #define StMSYS2_German _MB(2,8,3,2,0)
324 #define StMSYS3_Debug _MB(2,8,3,3,0) 324 #define StMSYS2_French _MB(2,8,3,3,0)
325 325 #define StMSYS2_Italian _MB(2,8,3,4,0)
326 #define StMSYS4_Info _MB(2,8,4,1,0) 326 #define StMSYS2_Espanol _MB(2,8,3,5,0)
327 327
328 #define StMSYS5_Exit _MB(2,8,5,1,0) 328 #define StMSYS3_Units _MB(2,8,4,1,0)
329 #define StMSYS5_LogbookOffset _MB(2,8,5,7,0) 329 #define StMSYS3_Colors _MB(2,8,4,2,0)
330 #define StMSYS5_ResetAll _MB(2,8,5,2,0) 330 #ifdef HAVE_DEBUG_VIEW
331 #define StMSYS5_ResetDeco _MB(2,8,5,3,0) 331 #define StMSYS3_Debug _MB(2,8,4,3,0)
332 #define StMSYS5_Reboot _MB(2,8,5,4,0) 332 #endif
333 #define StMSYS5_Maintenance _MB(2,8,5,5,0) 333
334 #define StMSYS5_ResetLogbook _MB(2,8,5,6,0) 334 #define StMSYS4_Info _MB(2,8,5,1,0)
335 #define StMSYS5_SetBattCharge _MB(2,8,5,7,0) 335
336 #define StMSYS5_RebootRTE _MB(2,8,5,8,0) 336 #define StMSYS5_Exit _MB(2,8,6,1,0)
337 #define StMSYS5_RebootMainCPU _MB(2,8,5,9,0) 337 #define StMSYS5_LogbookOffset _MB(2,8,6,7,0)
338 #define StMSYS5_ScreenTest _MB(2,8,5,10,0) 338 #define StMSYS5_ResetAll _MB(2,8,6,2,0)
339 #define StMSYS5_SetFactoryBC _MB(2,8,5,11,0) 339 #define StMSYS5_ResetDeco _MB(2,8,6,3,0)
340 #define StMSYS5_ResetBluetooth _MB(2,8,5,12,0) 340 #define StMSYS5_Reboot _MB(2,8,6,4,0)
341 #define StMSYS5_SetSampleIndx _MB(2,8,5,13,0) 341 #define StMSYS5_Maintenance _MB(2,8,6,5,0)
342 #define StMSYS5_AdjustSurfPres _MB(2,8,5,14,0) 342 #define StMSYS5_ResetLogbook _MB(2,8,6,6,0)
343 #define StMSYS5_FlashBoot _MB(2,8,5,15,0) 343 #define StMSYS5_SetBattCharge _MB(2,8,6,7,0)
344 #define StMSYS5_RebootRTE _MB(2,8,6,8,0)
345 #define StMSYS5_RebootMainCPU _MB(2,8,6,9,0)
346 #define StMSYS5_ScreenTest _MB(2,8,6,10,0)
347 #define StMSYS5_SetFactoryBC _MB(2,8,6,11,0)
348 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0)
349 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0)
350 #define StMSYS5_AdjustSurfPres _MB(2,8,6,14,0)
351 #define StMSYS5_FlashBoot _MB(2,8,6,15,0)
352
353
344 354
345 #define StMSYS_Custom0 _MB(2,8,1,0,0) 355 #define StMSYS_Custom0 _MB(2,8,1,0,0)
346 #define StMSYS_Custom1 _MB(2,8,2,0,0) 356 #define StMSYS_Custom1 _MB(2,8,2,0,0)
347 #define StMSYS_Custom2 _MB(2,8,3,0,0) 357 #define StMSYS_Custom2 _MB(2,8,3,0,0)
348 #define StMSYS_Custom3 _MB(2,8,4,0,0) 358 #define StMSYS_Custom3 _MB(2,8,4,0,0)