diff Discovery/Src/base.c @ 371:fca370f847f8 MotionDetection

Added parameter for number of sectors to be defined
author ideenmodellierer
date Mon, 19 Aug 2019 17:39:47 +0200
parents 50ea68c7a153
children 7b981f8bdd41
line wrap: on
line diff
--- a/Discovery/Src/base.c	Tue Aug 13 21:13:54 2019 +0200
+++ b/Discovery/Src/base.c	Mon Aug 19 17:39:47 2019 +0200
@@ -904,7 +904,7 @@
 							tHome_change_customview_button_pressed(action);
 							if((settingsGetPointer()->MotionDetection == MOTION_DETECT_SECTOR) && (action == ACTION_BUTTON_ENTER))  /* Button pressed while sector detection is active => calibrate to current pitch value */
 							{
-								DefinePitchSectors(stateRealGetPointer()->lifeData.compass_pitch);
+								DefinePitchSectors(stateRealGetPointer()->lifeData.compass_pitch,CUSTOMER_DEFINED_VIEWS);
 							}
 						}
 						else if (status.page == PageSurface)