# HG changeset patch # User Daniele Nicolodi # Date 1349867880 -7200 # Node ID 7ab3fb870ef84f1188dbdb909eefb29c009de968 # Parent a4c8db62a34bfac75a3f36ed36f7d2df6e354b6e Remove unused variables diff -r a4c8db62a34b -r 7ab3fb870ef8 DDS_Fox.c --- a/DDS_Fox.c Wed Oct 10 13:12:57 2012 +0200 +++ b/DDS_Fox.c Wed Oct 10 13:18:00 2012 +0200 @@ -138,7 +138,6 @@ } void DDSFox_SetFreqMax (DDSParameter *Param) { - double word ; unsigned char octets[6]; char Request[255]; convert_double_6char(pow(2,48)/2,octets); // borne sup : clock / 2 @@ -150,7 +149,6 @@ } void DDSFox_SetFreqMin (DDSParameter *Param) { - double word ; unsigned char octets[6]; char Request[255]; convert_double_6char(1,octets); // borne inf : ~0 @@ -277,7 +275,6 @@ char Request[255]; unsigned int OctetA, OctetB, OctetC, OctetD, OctetE, OctetF ; double FreqRead ; - int cmd[20]; Command Rd; init_command(&Rd); sprintf(Request,"get;%i;%i",1,CMD_GET_FREQ); @@ -302,7 +299,6 @@ int SendCmd(char *Buffer, DDSParameter *Param) { unsigned int hConv=0; char Response[255]; - char parsebuf[255]; if (ConnectToTCPServer (&hConv, Param->Port, Param->ip, OnTCPEvent, Response, 0) < 0) { error("Connect failed"); return -1; diff -r a4c8db62a34b -r 7ab3fb870ef8 FXAnalyse.cds --- a/FXAnalyse.cds Wed Oct 10 13:12:57 2012 +0200 +++ b/FXAnalyse.cds Wed Oct 10 13:18:00 2012 +0200 @@ -6,7 +6,7 @@ workspacedir - + @@ -47,14 +47,14 @@ - + 0.000000000000000 - 0.233755940889626 - 1.254365655929310 - 9.596767550412119 - 13.057413463728382 - 13.450517095926928 - 22.555598478603375 + 0.256015735222412 + 2.422809913982324 + 10.533414137603026 + 13.748574365932102 + 14.071850273981729 + 22.624507369650850 diff -r a4c8db62a34b -r 7ab3fb870ef8 FXAnalyse.cws --- a/FXAnalyse.cws Wed Oct 10 13:12:57 2012 +0200 +++ b/FXAnalyse.cws Wed Oct 10 13:18:00 2012 +0200 @@ -41,7 +41,7 @@ Version = 910 Don't Update DistKit = False Platform Code = 4 -Build Configuration = "Debug" +Build Configuration = "Release" Build Platform = "Intel 32-bit" Warn User If Debugging Release = 1 Batch Build Release = False @@ -51,12 +51,12 @@ [File 0001] Path = "/p/nicolodi/FXAnalyse/FXAnalyse.c" File Type = "CSource" -Disk Date = 3432711492 +Disk Date = 3432712375 In Projects = "1," Window Top = 32 Window Left = 6 -Window Z-Order = 1 -Source Window State = "1,2296,2296,2296,27,32,27,0,0,163,0,2500,0,0,0,58,192,0,1249,50,401,685,1,11," +Window Z-Order = 3 +Source Window State = "1,2296,2296,2296,27,32,27,0,0,80,0,2500,0,0,0,25,372,0,1249,50,401,685,1,11," [File 0002] Path = "/m/mes documents/Téléchargements/DDSdrivers/DDS4xAD9912.c" @@ -81,7 +81,7 @@ [File 0004] Path = "/p/nicolodi/FXAnalyse/FXAnalyse.h" File Type = "Include" -Disk Date = 3432711320 +Disk Date = 3432712375 In Projects = "1," Window Top = 32 Window Left = 6 @@ -97,17 +97,17 @@ Window Left = 38 Window Height = 349 Window Width = 683 -Window Z-Order = 3 +Window Z-Order = 4 [File 0006] Path = "/p/nicolodi/FXAnalyse/DDS_Fox.c" File Type = "CSource" -Disk Date = 3432709088 +Disk Date = 3432712611 In Projects = "1," Window Top = 62 Window Left = 22 -Window Z-Order = 4 -Source Window State = "1,293,293,293,4,49,4,0,0,79,0,0,0,0,0,21,136,0,140,11,349,671,1,0," +Window Z-Order = 1 +Source Window State = "1,301,301,301,0,23,23,0,0,163,0,0,0,0,0,58,280,0,295,20,349,671,1,0," [File 0007] Path = "/p/nicolodi/FXAnalyse/DDS4xAD9912.c"