diff 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
line wrap: on
line diff
--- a/Discovery/Src/settings.c	Mon Aug 10 15:53:45 2020 +0200
+++ b/Discovery/Src/settings.c	Thu Aug 20 21:25:38 2020 +0200
@@ -1051,11 +1051,16 @@
 
 /*	uint8_t showDebugInfo;
  */
+
+#ifdef HAVE_DEBUG_VIEW
     if(Settings.showDebugInfo > 1)
     {
         Settings.showDebugInfo = 0;
         corrections++;
     }
+#else
+    Settings.showDebugInfo = 0;
+#endif
 
 /*	uint8_t ButtonResponsiveness[4];
  */