diff Discovery/Src/tHome.c @ 613:beeb23d18443

Added "Set Marker" to T3 quick menu: It is now possible to set a marker while in T?_Profile view using the quick menu access. Because the the string, which is used in the dive menu, is to long, a shorter string had to be added.
author Ideenmodellierer
date Fri, 15 Jan 2021 21:33:07 +0100
parents 280c11153080
children 8fa2de4414a8
line wrap: on
line diff
--- a/Discovery/Src/tHome.c	Fri Jan 15 21:20:29 2021 +0100
+++ b/Discovery/Src/tHome.c	Fri Jan 15 21:33:07 2021 +0100
@@ -192,6 +192,8 @@
                         						set_globalState(StDMGAS);
             								}
             			break;
+            		case CVIEW_T3_Profile: 	set_globalState(StDMARK);
+            			break;
             		default:
             			break;
             	}
@@ -342,6 +344,9 @@
             else
                 dataOutGetPointer()->setEndDive = 1;
             break;
+        case StDMARK:	stateUsedWrite->events.manualMarker = 1;
+				        set_globalState(StD);
+        	break;
 
         default:
             break;