Mercurial > hg > fxanalyse
diff FXAnalyse.c @ 216:72fafb670eaf
Set AD9956 frequency and sweep rate at startup
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Mon, 14 Apr 2014 12:50:21 +0200 |
parents | 11a88d389705 |
children | fefe921a9784 |
line wrap: on
line diff
--- 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));