diff Discovery/Inc/simulation.h @ 989:c317130aaafc GasConsumption

OSTC4/5 joined code: In the previous version code differences between OSTC4/5 were identified using the ENABLE_GPIO_V2 compiler switch. In the new version this is done using the display version as indicator which OSTC model is in used. Since this is detected by Firmware the information is forwarded from there to the RTE. This causes a little delay in the GPIO initialization but this applies only to the cold start of the RTE which should not happen very often.
author ideenmodellierer
date Tue, 08 Apr 2025 15:10:14 +0200
parents 7891160acde3
children
line wrap: on
line diff
--- a/Discovery/Inc/simulation.h	Sun Apr 06 21:02:17 2025 +0200
+++ b/Discovery/Inc/simulation.h	Tue Apr 08 15:10:14 2025 +0200
@@ -63,7 +63,11 @@
 SDecoinfo* simulation_decoplaner_Bachelorarbeit_VPM(uint16_t depth_meter, uint16_t intervall_time_minutes, uint16_t dive_time_minutes, SgasChangeList *pGasChangeList);
 void simulation_gas_consumption(uint16_t *outputConsumptionList, uint16_t depth_meter, uint16_t dive_time_minutes, SDecoinfo *decoInfoInput, uint8_t gasConsumTravelInput, uint8_t gasConsumDecoInput, const SgasChangeList *pGasChangeList);
 void simulation_helper_change_points(SSimDataSummary *outputSummary, uint16_t depth_meter, uint16_t dive_time_minutes, SDecoinfo *decoInfoInput, const SgasChangeList *pGasChangeList);
-
+void simulation_evaluate_profil(uint16_t *outputConsumptionList,
+								SSimDataSummary *outputSummary,
+								uint16_t depth_meter, uint16_t dive_time_minutes,uint8_t gasConsumTravelInput, uint8_t gasConsumDecoInput,
+								SDecoinfo *decoInfoInput,
+								const SgasChangeList *pGasChangeList);
 
 void Sim_Descend (void);
 void Sim_Ascend (void);