changeset 205:31093786d41d

Fix Sr beatnote sign detection
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 31 Mar 2014 17:03:38 +0200
parents d7f91b9fb515
children c700a2d38fb8
files FXAnalyse.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/FXAnalyse.c	Mon Mar 31 17:03:38 2014 +0200
+++ b/FXAnalyse.c	Mon Mar 31 17:03:38 2014 +0200
@@ -1678,9 +1678,9 @@
 				case PANEL_FINDSIGN3:
 					tbegin3 = utc;
 					Frepbefore3 = Math1;
-					GetCtrlVal(MainPanel, PANEL_DDS4, &Frequency3) ;
-					SetCtrlVal(MainPanel, PANEL_DDS4, Frequency3+Frequencystep3) ; 
-					ad9912_set_frequency_w(&ad9912, 3, Frequency3+Frequencystep3);
+					GetCtrlVal(MainPanel, PANEL_DDS1, &Frequency3) ;
+					SetCtrlVal(MainPanel, PANEL_DDS1, Frequency3+Frequencystep3) ; 
+					ad9912_set_frequency_w(&ad9912, 0, Frequency3+Frequencystep3);
 					Getsign3 = TRUE;
 					break;
 			}