comparison 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
comparison
equal deleted inserted replaced
612:82d58470fd94 613:beeb23d18443
190 case CVIEW_T3_GasList: if(stateUsed->warnings.betterGas) 190 case CVIEW_T3_GasList: if(stateUsed->warnings.betterGas)
191 { 191 {
192 set_globalState(StDMGAS); 192 set_globalState(StDMGAS);
193 } 193 }
194 break; 194 break;
195 case CVIEW_T3_Profile: set_globalState(StDMARK);
196 break;
195 default: 197 default:
196 break; 198 break;
197 } 199 }
198 break; 200 break;
199 } 201 }
340 if(is_stateUsedSetToSim()) 342 if(is_stateUsedSetToSim())
341 Sim_Quit(); 343 Sim_Quit();
342 else 344 else
343 dataOutGetPointer()->setEndDive = 1; 345 dataOutGetPointer()->setEndDive = 1;
344 break; 346 break;
347 case StDMARK: stateUsedWrite->events.manualMarker = 1;
348 set_globalState(StD);
349 break;
345 350
346 default: 351 default:
347 break; 352 break;
348 } 353 }
349 } 354 }