# HG changeset patch # User Ideenmodellierer # Date 1610648248 -3600 # Node ID 1b243c6c7067b941be98aba5e0acc848eccdd5a0 # Parent 6738028de84718005c682429db9007cee6d4ee4b Bugfix: CalibViewport were shown even in case the compile switch had not been set: The function calibrate viewport could be selected in the dive menu. Selection had no effect but a non functional menu item might cause confusion => removment is now covered by compile switch diff -r 6738028de847 -r 1b243c6c7067 Discovery/Src/tMenuXtra.c --- a/Discovery/Src/tMenuXtra.c Fri Feb 05 14:53:50 2021 +0100 +++ b/Discovery/Src/tMenuXtra.c Thu Jan 14 19:17:28 2021 +0100 @@ -35,6 +35,7 @@ #include "text_multilanguage.h" #include "data_central.h" #include "simulation.h" +#include "configuration.h" /* Exported functions --------------------------------------------------------*/ @@ -78,6 +79,7 @@ strcpy(&text[textPointer],"\n\r"); textPointer += 2; +#ifdef ENABLE_MOTION_CONTROL if((line == 0) || (line == 4)) { text[textPointer++] = TXT_2BYTE; @@ -85,6 +87,7 @@ } strcpy(&text[textPointer],"\n\r"); textPointer += 2; +#endif if(is_stateUsedSetToSim()) {