Mercurial > public > ostc4
changeset 150:097d7146b779 FlipDisplay
Place CNS and pressure within the screen (avoid clipping)
author | Ideenmodellierer |
---|---|
date | Sat, 02 Mar 2019 17:42:51 +0100 |
parents | e1d66bc78f9a |
children | a98f91cca107 |
files | Discovery/Src/show_logbook.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 ---