changeset 200:0e0282010be3

Fix device reset in old AD9912 interface
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 31 Mar 2014 17:03:37 +0200
parents 111610d871af
children f8118b90490e
files DDS4xAD9912.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/DDS4xAD9912.c	Mon Mar 31 17:03:37 2014 +0200
+++ b/DDS4xAD9912.c	Mon Mar 31 17:03:37 2014 +0200
@@ -56,7 +56,7 @@
 	int channel, rv;
 	char request[256];
 		
-	sprintf(request, "set;%i;%i", 1, 17);
+	sprintf(request, "set;%i;%i", 1, 19);
 	
 	for (channel = 1; channel < 5; channel++) {
 		rv = DDS4xAD9912_SendCmd(dds, channel, request);