Mercurial > public > ostc4
comparison Discovery/Src/simulation.c @ 696:cc542448fb28
Merge
author | heinrichsweikamp |
---|---|
date | Fri, 19 Aug 2022 11:30:24 +0200 |
parents | 05cdd367dbd0 |
children | 01f40cb1057e |
comparison
equal
deleted
inserted
replaced
661:87bee7cc77b3 | 696:cc542448fb28 |
---|---|
389 | 389 |
390 SDecoinfo* simulation_decoplaner(uint16_t depth_meter, uint16_t intervall_time_minutes, uint16_t dive_time_minutes, uint8_t *gasChangeListDepthGas20x2) | 390 SDecoinfo* simulation_decoplaner(uint16_t depth_meter, uint16_t intervall_time_minutes, uint16_t dive_time_minutes, uint8_t *gasChangeListDepthGas20x2) |
391 { | 391 { |
392 uint8_t ptrGasChangeList = 0; // new hw 160704 | 392 uint8_t ptrGasChangeList = 0; // new hw 160704 |
393 | 393 |
394 for (int i = 0; i < 40; i++) | |
395 gasChangeListDepthGas20x2[i] = 0; | |
396 | |
394 SDiveState * pDiveState = &stateSim; | 397 SDiveState * pDiveState = &stateSim; |
395 copyDiveSettingsToSim(); | 398 copyDiveSettingsToSim(); |
396 vpm_init(&pDiveState->vpm, pDiveState->diveSettings.vpm_conservatism, 0, 0); | 399 vpm_init(&pDiveState->vpm, pDiveState->diveSettings.vpm_conservatism, 0, 0); |
397 //buehlmann_init(); | 400 //buehlmann_init(); |
398 //timer_init(); | 401 //timer_init(); |