# HG changeset patch # User Ideenmodellierer # Date 1551544971 -3600 # Node ID 097d7146b779d62b3950fef7997e4b3d2fe509a8 # Parent e1d66bc78f9ae63653d4016f64ff6382b18e2373 Place CNS and pressure within the screen (avoid clipping) diff -r e1d66bc78f9a -r 097d7146b779 Discovery/Src/show_logbook.c --- a/Discovery/Src/show_logbook.c Sat Mar 02 17:42:06 2019 +0100 +++ b/Discovery/Src/show_logbook.c Sat Mar 02 17:42:51 2019 +0100 @@ -642,14 +642,14 @@ // CNS snprintf(text,20,"CNS: %i %%",logbookHeader.maxCNS); - Gfx_write_label_var(hgfx, 30, 250,750, &FontT42,CLUT_GasSensor1,text); + Gfx_write_label_var(hgfx, 30, 250,440, &FontT42,CLUT_GasSensor1,text); // Surface Pressure // snprintf(text,20,"\001%i\016\016 mbar",logbookHeader.surfacePressure_mbar); // Gfx_write_label_var(hgfx,300,500,750, &FontT42,CLUT_GasSensor1,text); // snprintf(text,40,"%i\016\016 mbar\017 (%i\016\016 m\017)",logbookHeader.surfacePressure_mbar, unit_SeaLevelRelation_integer(logbookHeader.surfacePressure_mbar)); snprintf(text,40,"%i\016\016 hPa\017",logbookHeader.surfacePressure_mbar); - Gfx_write_label_var(hgfx,320,600,750, &FontT42,CLUT_GasSensor1,text); + Gfx_write_label_var(hgfx,320,600,440, &FontT42,CLUT_GasSensor1,text); //--- print coordinate system & depth graph with gaschanges ---