Mercurial > public > ostc4
diff Discovery/Inc/motion.h @ 375:4bb5ceebfaf9 MotionDetection
Use Enum values for initialization and setting check:
Scroll function could not be restored because of invalid setting plausibility check =>Use enums to determine proper max value for the MotionDetection parameter
author | ideenmodellierer |
---|---|
date | Tue, 10 Sep 2019 20:51:55 +0200 |
parents | 7b981f8bdd41 |
children | 49a02dea8ae3 |
line wrap: on
line diff
--- a/Discovery/Inc/motion.h Sun Sep 08 13:45:43 2019 +0200 +++ b/Discovery/Inc/motion.h Tue Sep 10 20:51:55 2019 +0200 @@ -18,7 +18,8 @@ MOTION_DETECT_OFF = 0, MOTION_DETECT_SECTOR, MOTION_DETECT_MOVE, - MOTION_DETECT_SCROLL + MOTION_DETECT_SCROLL, + MOTION_DETECT_END } MotionDetectMethod_t; typedef enum