diff Discovery/Src/tMenuEditGasOC.c @ 699:01f40cb1057e

Cleanup warnings: The code still contained several warnings which have now been resolved. Big thank you to Thomas :-)
author Ideenmodellierer
date Tue, 18 Oct 2022 20:56:19 +0200
parents 8775d3dc6325
children 39f48356049b
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditGasOC.c	Sun Sep 25 21:13:45 2022 +0200
+++ b/Discovery/Src/tMenuEditGasOC.c	Tue Oct 18 20:56:19 2022 +0200
@@ -181,7 +181,7 @@
 {
     uint8_t setpoint;
 
-    editGasPage.pGasLine = stateUsed->diveSettings.gas;
+    editGasPage.pGasLine = (SGasLine *)stateUsed->diveSettings.gas;
 
     if(ccr)
     {
@@ -215,7 +215,7 @@
     uint8_t oxygen, helium, gasOffset, textpointer, lineCount, ptrGas;
     //SDiveState * pState;
 
-    editGasPage.pGasLine = stateUsed->diveSettings.gas;
+    editGasPage.pGasLine = (SGasLine *)stateUsed->diveSettings.gas;
     if(ccr)
     {
         editGasPage.setpoint = stateUsed->lifeData.actualGas.setPoint_cbar;