diff Discovery/Src/t7.c @ 884:940f8e132638 Evo_2_23

Minor screen cleanup: In flipped mode some visualization did not match the non flipped version. Also depth display in T7 view has been moved
author Ideenmodellierer
date Sun, 01 Sep 2024 20:31:01 +0200
parents 608d3e918146
children 0e084e5554a8
line wrap: on
line diff
--- a/Discovery/Src/t7.c	Sat Aug 31 18:14:40 2024 +0200
+++ b/Discovery/Src/t7.c	Sun Sep 01 20:31:01 2024 +0200
@@ -209,7 +209,7 @@
 
 		t7l2.Image = &t7screen;
 		t7l2.WindowNumberOfTextLines = 2;
-		t7l2.WindowLineSpacing = 22; // Abstand von Y0
+		t7l2.WindowLineSpacing = 12; // Abstand von Y0
 		t7l2.WindowTab = 100; // vermtl. ohne Verwendung in diesem Fenster
 		t7l2.WindowX0 = 0;
 		t7l2.WindowX1 = t7l1.WindowX1;
@@ -376,7 +376,7 @@
 
     t7l2.Image = &t7screen;
     t7l2.WindowNumberOfTextLines = 2;
-    t7l2.WindowLineSpacing = 22; // Abstand von Y0
+    t7l2.WindowLineSpacing = 12; // Abstand von Y0
     t7l2.WindowTab = 100; // vermtl. ohne Verwendung in diesem Fenster
     t7l2.WindowX0 = t7l1.WindowX0;
     t7l2.WindowX1 = t7l1.WindowX1;
@@ -2720,8 +2720,7 @@
     char TextC2[TEXTSIZE];
     uint8_t textPointer;
 
-    point_t start, stop;
-    uint8_t color;
+    uint8_t color = 0;
     int textlength;
 
     uint16_t 	nextstopLengthSeconds = 0;
@@ -2820,8 +2819,6 @@
 
     GFX_write_string(&FontT144,&t7l1,TextL1,0);
 
-
-
 /* divetime */
     if(stateUsed->lifeData.counterSecondsShallowDepth)
     {