diff Discovery/Src/base.c @ 597:132e7e3d13a7

MotionControl-Sector: Map sectors during switch T7 <=> T3: The number and available custom views may differ between the setup for T3 and T7 view. That's why the sectors have to be remapped during every T3 <=> T7 switch
author Ideenmodellierer
date Mon, 04 Jan 2021 21:38:28 +0100
parents bb5ce239741f
children 916998f90e39
line wrap: on
line diff
--- a/Discovery/Src/base.c	Mon Jan 04 21:35:38 2021 +0100
+++ b/Discovery/Src/base.c	Mon Jan 04 21:38:28 2021 +0100
@@ -792,6 +792,7 @@
 							if(settingsGetPointer()->MotionDetection == MOTION_DETECT_SECTOR)
 							{
 								DefinePitchSectors(settingsGetPointer()->viewPitch,CUSTOMER_DEFINED_VIEWS);
+								MapCVToSector();
 							}
 						}
 					}
@@ -807,6 +808,7 @@
 						if(settingsGetPointer()->MotionDetection == MOTION_DETECT_SECTOR)
 						{
 							DefinePitchSectors(settingsGetPointer()->viewPitch,CUSTOMER_DEFINED_VIEWS);
+							MapCVToSector();
 						}
 					}
 					else if (settingsGetPointer()->extraDisplay	== EXTRADISPLAY_DECOGAME)