comparison Discovery/Src/data_exchange_main.c @ 907:46a21ff3f5ab Evo_2_23

Adaptation custom view deco plan for VPM: The VPM deco plan now shows the start of deco zone as well as the state of the deco table state. In case the table defined when reaching the deco zone is updated then the header line will change to yellow to indicate this. In case a deco stop is missed the head line will change to red.
author ideenmodellierer
date Sun, 13 Oct 2024 18:13:35 +0200
parents 2225c467f1e9
children
comparison
equal deleted inserted replaced
906:49ee233c7a74 907:46a21ff3f5ab
479 if(decoLock == DECO_CALC_running) 479 if(decoLock == DECO_CALC_running)
480 return; 480 return;
481 481
482 if(decoLock == DECO_CALC_init_as_is_start_of_dive) 482 if(decoLock == DECO_CALC_init_as_is_start_of_dive)
483 { 483 {
484 vpm_table_init();
484 vpm_init(&stateUsedWrite->vpm, stateUsedWrite->diveSettings.vpm_conservatism, 0, 0); 485 vpm_init(&stateUsedWrite->vpm, stateUsedWrite->diveSettings.vpm_conservatism, 0, 0);
485 buehlmann_init(); 486 buehlmann_init();
486 timer_init(); 487 timer_init();
487 resetEvents(stateUsedWrite); 488 resetEvents(stateUsedWrite);
488 stateUsedWrite->diveSettings.internal__pressure_first_stop_ambient_bar_as_upper_limit_for_gf_low_otherwise_zero = 0; 489 stateUsedWrite->diveSettings.internal__pressure_first_stop_ambient_bar_as_upper_limit_for_gf_low_otherwise_zero = 0;