# HG changeset patch # User Daniele Nicolodi # Date 1396278217 -7200 # Node ID 0e0282010be36574a72f3c5b4f6743c71c02f0a0 # Parent 111610d871af408e187e4b0e581e5ef82ee919c4 Fix device reset in old AD9912 interface diff -r 111610d871af -r 0e0282010be3 DDS4xAD9912.c --- 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);