# HG changeset patch # User Daniele Nicolodi # Date 1349949337 -7200 # Node ID 73e23c879d6e106dc8e2756d8d8cc850dc7f97ca # Parent 57e2e88aadb98526eff34742f58eb44e47e90ee5 Do not update beatnote sign indicators at each time tick diff -r 57e2e88aadb9 -r 73e23c879d6e FXAnalyse.c --- a/FXAnalyse.c Wed Oct 10 18:17:30 2012 +0200 +++ b/FXAnalyse.c Thu Oct 11 11:55:37 2012 +0200 @@ -572,9 +572,7 @@ SetCtrlVal(MainPanel, PANEL_FREQ2, Ch2); SetCtrlVal(MainPanel, PANEL_FREQ3, Ch3); SetCtrlVal(MainPanel, PANEL_FREQ4, Ch4); - SetCtrlVal(MainPanel, PANEL_SIGN1, Signe1); - SetCtrlVal(MainPanel, PANEL_SIGN2, Signe2); - SetCtrlVal(MainPanel, PANEL_SIGN3, Signe3); + SetCtrlVal(MainPanel, PANEL_CENTERFREQUENCY, CenterFrequencyCh2); // Treat data @@ -1175,6 +1173,7 @@ SetCtrlVal(MainPanel, PANEL_DDS1, Frequency1); DDS4xAD9912_SetFrequency(&DDS4xAD9912, 1, Frequency1); Getsign1 = FALSE; + SetCtrlVal(MainPanel, PANEL_SIGN1, Signe1); } } if (Getsign2 == TRUE) { @@ -1193,6 +1192,7 @@ SetCtrlVal(MainPanel, PANEL_DDS1, Frequency2); DDS4xAD9912_SetFrequency(&DDS4xAD9912, 1, Frequency2); Getsign2 = FALSE; + SetCtrlVal(MainPanel, PANEL_SIGN2, Signe2); } } if (Getsign3 == TRUE) { @@ -1204,6 +1204,7 @@ SetCtrlVal(MainPanel, PANEL_DDS3, Frequency3); DDS4xAD9912_SetFrequency(&DDS4xAD9912, 4, Frequency3); Getsign3 = FALSE; + SetCtrlVal(MainPanel, PANEL_SIGN3, Signe3); } }