diff FXAnalyse.c @ 205:31093786d41d

Fix Sr beatnote sign detection
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 31 Mar 2014 17:03:38 +0200
parents 111610d871af
children 11a88d389705
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;
 			}