Mercurial > public > ostc4
comparison Discovery/Src/settings.c @ 492:4ce932235578
Added compiler switch for existing debug view parameter
author | Ideenmodellierer |
---|---|
date | Thu, 20 Aug 2020 21:25:38 +0200 |
parents | 9eeab3fead8f |
children | 4811f3dfaa52 |
comparison
equal
deleted
inserted
replaced
491:9b7e3ebce463 | 492:4ce932235578 |
---|---|
1049 /* uint16_t personalDiveCount; | 1049 /* uint16_t personalDiveCount; |
1050 */ | 1050 */ |
1051 | 1051 |
1052 /* uint8_t showDebugInfo; | 1052 /* uint8_t showDebugInfo; |
1053 */ | 1053 */ |
1054 | |
1055 #ifdef HAVE_DEBUG_VIEW | |
1054 if(Settings.showDebugInfo > 1) | 1056 if(Settings.showDebugInfo > 1) |
1055 { | 1057 { |
1056 Settings.showDebugInfo = 0; | 1058 Settings.showDebugInfo = 0; |
1057 corrections++; | 1059 corrections++; |
1058 } | 1060 } |
1061 #else | |
1062 Settings.showDebugInfo = 0; | |
1063 #endif | |
1059 | 1064 |
1060 /* uint8_t ButtonResponsiveness[4]; | 1065 /* uint8_t ButtonResponsiveness[4]; |
1061 */ | 1066 */ |
1062 // Base value, index 3 | 1067 // Base value, index 3 |
1063 if(Settings.ButtonResponsiveness[3] < MIN_BUTTONRESPONSIVENESS_GUI) | 1068 if(Settings.ButtonResponsiveness[3] < MIN_BUTTONRESPONSIVENESS_GUI) |