diff FXAnalyse.c @ 140:3f7eef731ccc

Adjust log messages
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Wed, 22 Jan 2014 14:45:22 +0100
parents e04123ab79ef
children fd085d61e4ca
line wrap: on
line diff
--- a/FXAnalyse.c	Wed Jan 22 14:45:22 2014 +0100
+++ b/FXAnalyse.c	Wed Jan 22 14:45:22 2014 +0100
@@ -1342,7 +1342,7 @@
 						else
 							DDSFox_SetSweepRate(&DDS1xAD9956, dedrift.applied);
 						
-						logmsg("dedrift update (%+6g) %6g", freq.slope, dedrift.applied);
+						logmsg("dedrift update: adjustment=%+3e slope=%+3e", freq.slope, dedrift.applied);
 						
 						stat_zero(&freq);
 						dedrift.t0 = utc;
@@ -1365,7 +1365,7 @@
 							freq = freq + adj;
 							SetCtrlVal(MainPanel, PANEL_DDS2, freq);
 							DDS4xAD9912_SetFrequency(&DDS4xAD9912, 2, freq);
-							logmsg("recenter ch4 to 275 kHz: DDS2 adjustment=%5e", adj);
+							logmsg("recenter ch4 to 275 kHz: DDS2 adjustment=%+3e", adj);
 						}
 					
 						if (recenter.Hg) {
@@ -1375,7 +1375,7 @@
 							freq = freq + adj;
 							SetCtrlVal(MainPanel, PANEL_DDS3, freq);
 							DDS4xAD9912_SetFrequency(&DDS4xAD9912, 3, freq);
-							logmsg("recenter Hg beatnote (ch2) to 10 kHz: DDS3 adjustment=%5e", adj);
+							logmsg("recenter Hg beatnote (ch2) to 10 kHz: DDS3 adjustment=%+3e", adj);
 						}
 					
 						if (recenter.Sr) {
@@ -1385,7 +1385,7 @@
 							freq = freq + adj;
 							SetCtrlVal(MainPanel, PANEL_DDS3, freq);
 							DDS4xAD9912_SetFrequency(&DDS4xAD9912, 3, freq);
-							logmsg("recenter Hg beatnote (ch3) to 10 kHz: DDS3 adjustment=%5e", adj);
+							logmsg("recenter Hg beatnote (ch3) to 10 kHz: DDS3 adjustment=%+3e", adj);
 						}
 					
 						recenter.t0 = utc;