Skip to content

Commit

Permalink
runtime/dds: disable dds_init_sync completely for non-9914
Browse files Browse the repository at this point in the history
sbourdeauducq committed Aug 16, 2016
1 parent 6c2ca69 commit 538d3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/runtime/dds.c
Original file line number Diff line number Diff line change
@@ -86,6 +86,7 @@ void dds_init(long long int timestamp, int bus_channel, int channel)

void dds_init_sync(long long int timestamp, int bus_channel, int channel, int sync_delay)
{
#ifdef CONFIG_DDS_AD9914
long long int now;

now = timestamp - DURATION_INIT_SYNC;
@@ -96,7 +97,6 @@ void dds_init_sync(long long int timestamp, int bus_channel, int channel, int sy
channel <<= 1;
DDS_WRITE(DDS_GPIO, channel);

#ifdef CONFIG_DDS_AD9914
DDS_WRITE(DDS_CFR4H, 0x0105); /* Enable DAC calibration */
DDS_WRITE(DDS_FUD, 0);
now += DURATION_DAC_CAL;

0 comments on commit 538d3e8

Please sign in to comment.