diff Discovery/Src/base.c @ 561:e581425c7e3e

Solved minor warnings
author Ideenmodellierer
date Sun, 15 Nov 2020 19:54:36 +0100
parents 469e93f8633e
children bb5ce239741f
line wrap: on
line diff
--- a/Discovery/Src/base.c	Sun Nov 15 19:53:09 2020 +0100
+++ b/Discovery/Src/base.c	Sun Nov 15 19:54:36 2020 +0100
@@ -232,7 +232,6 @@
 #include "test_vpm.h"
 #include "tDebug.h"
 #include "motion.h"
-#include "data_exchange_main.h"
 
 #ifdef DEMOMODE
 #include "demo.h"
@@ -350,7 +349,9 @@
     uint16_t totalDiveCounterFound;
 
 	SStateList status;
+#ifdef ENABLE_MOTION_CONTROL
     detectionState_t pitchstate;
+#endif
     set_globalState( StBoot0 );
     LastButtonPressed = 0;