comparison Discovery/Src/tMenuEditSystem.c @ 446:f1257a32f2d4 minor_improvments

Introduced configuration header for variant managment: At the moment several defines are distributed across the code allowing special SW builds (e.g. logging simulated dives). To make these options more transparent and easier to configurate a separate header has been added. With this header an new option for an optical pressure sensor was introduced.
author ideenmodellierer
date Thu, 05 Mar 2020 22:31:50 +0100
parents f2c4f5c90540
children aa1d71875e25
comparison
equal deleted inserted replaced
445:ee1434824c3f 446:f1257a32f2d4
904 text[4] = TXT_CNS; 904 text[4] = TXT_CNS;
905 break; 905 break;
906 case LLC_GF: 906 case LLC_GF:
907 text[4] = TXT_ActualGradient; 907 text[4] = TXT_ActualGradient;
908 break; 908 break;
909 #ifdef ENABLE_BOTTLE_SENSOR
909 case LCC_BottleBar: 910 case LCC_BottleBar:
910 text[4] = TXT_AtemGasVorrat; 911 text[4] = TXT_AtemGasVorrat;
911 break; 912 break;
913 #endif
912 /* none */ 914 /* none */
913 case 0: 915 case LLC_Empty:
914 text[4] = '-'; 916 text[4] = '-';
915 break; 917 break;
916 default: 918 default:
917 snprintf(&text[4],2,"%u",settingsGetPointer()->tX_userselectedLeftLowerCornerPrimary); 919 snprintf(&text[4],2,"%u",settingsGetPointer()->tX_userselectedLeftLowerCornerPrimary);
918 break; 920 break;