# HG changeset patch # User Daniele Nicolodi # Date 1397472621 -7200 # Node ID 72fafb670eafc101861a0b31cb6a04375da3f352 # Parent e925664b4b1b8c4ae2ecf1bf31a37947facf51ae Set AD9956 frequency and sweep rate at startup diff -r e925664b4b1b -r 72fafb670eaf FXAnalyse.c --- a/FXAnalyse.c Mon Apr 14 12:46:14 2014 +0200 +++ b/FXAnalyse.c Mon Apr 14 12:50:21 2014 +0200 @@ -496,6 +496,7 @@ rv = ad9956_init(&ad9956, host, clock); if (rv) logmessage(ERROR, "ad9956 init erorr=%d", -rv); + ad9956_set_w(&ad9956, dedrift.freq0, dedrift.applied); // ad9912 configuration parameters rv = Ini_GetStringIntoBuffer(configuration, "AD9912", "host", host, sizeof(host));