Skip to content

Commit de37487

Browse files
committedMar 9, 2016
runtime: fix dds declarations
1 parent f0b0b1b commit de37487

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎artiq/runtime/dds.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void dds_init(long long int timestamp, int bus_channel, int channel)
8585
static unsigned int continuous_phase_comp[CONFIG_DDS_CHANNEL_COUNT];
8686

8787
static void dds_set_one(long long int now, long long int ref_time,
88-
unsigned int bus_channel, unsigned int channel,
88+
int bus_channel, int channel,
8989
unsigned int ftw, unsigned int pow, int phase_mode, unsigned int amplitude)
9090
{
9191
unsigned int channel_enc;

‎artiq/runtime/dds.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ enum {
5454
PHASE_MODE_TRACKING = 2
5555
};
5656

57-
void dds_init(long long int timestamp, int channel);
57+
void dds_init(long long int timestamp, int bus_channel, int channel);
5858
void dds_batch_enter(long long int timestamp);
5959
void dds_batch_exit(void);
60-
void dds_set(long long int timestamp, int channel,
60+
void dds_set(long long int timestamp, int bus_channel, int channel,
6161
unsigned int ftw, unsigned int pow, int phase_mode, unsigned int amplitude);
6262

6363
#endif /* __DDS_H */

0 commit comments

Comments
 (0)