Skip to content

Commit

Permalink
runtime: fix dds declarations
Browse files Browse the repository at this point in the history
sbourdeauducq committed Mar 9, 2016
1 parent f0b0b1b commit de37487
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion artiq/runtime/dds.c
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ void dds_init(long long int timestamp, int bus_channel, int channel)
static unsigned int continuous_phase_comp[CONFIG_DDS_CHANNEL_COUNT];

static void dds_set_one(long long int now, long long int ref_time,
unsigned int bus_channel, unsigned int channel,
int bus_channel, int channel,
unsigned int ftw, unsigned int pow, int phase_mode, unsigned int amplitude)
{
unsigned int channel_enc;
4 changes: 2 additions & 2 deletions artiq/runtime/dds.h
Original file line number Diff line number Diff line change
@@ -54,10 +54,10 @@ enum {
PHASE_MODE_TRACKING = 2
};

void dds_init(long long int timestamp, int channel);
void dds_init(long long int timestamp, int bus_channel, int channel);
void dds_batch_enter(long long int timestamp);
void dds_batch_exit(void);
void dds_set(long long int timestamp, int channel,
void dds_set(long long int timestamp, int bus_channel, int channel,
unsigned int ftw, unsigned int pow, int phase_mode, unsigned int amplitude);

#endif /* __DDS_H */

0 comments on commit de37487

Please sign in to comment.