diff Discovery/Inc/motion.h @ 371:fca370f847f8 MotionDetection

Added parameter for number of sectors to be defined
author ideenmodellierer
date Mon, 19 Aug 2019 17:39:47 +0200
parents 77cdfbdaca8c
children 7b981f8bdd41
line wrap: on
line diff
--- a/Discovery/Inc/motion.h	Tue Aug 13 21:13:54 2019 +0200
+++ b/Discovery/Inc/motion.h	Mon Aug 19 17:39:47 2019 +0200
@@ -10,6 +10,7 @@
 
 
 /* exported data types */
+#define CUSTOMER_DEFINED_VIEWS	(100u)	/* value will cause the function to detect the numer of selected views */
 
 typedef enum
 {
@@ -39,7 +40,7 @@
 } SSector;
 
 void InitMotionDetection(void);
-void DefinePitchSectors(float centerAngle);
+void DefinePitchSectors(float centerAngle, uint8_t numOfSectors);
 detectionState_t detectPitch(float currentPitch);
 detectionState_t detectSectorButtonEvent(float curPitch);