summaryrefslogtreecommitdiff
path: root/device-functions.h
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-19 14:35:08 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-10-19 14:35:08 -0400
commit3ebde173c2976a6d83f94bd4a1b5738fa52dd685 (patch)
tree3103c59543b4e0f4e91ca81659ca082df64378ba /device-functions.h
parentf98d4cfb2cff6df80ecd846f11781568d348fc19 (diff)
fix return-value warnings
Diffstat (limited to 'device-functions.h')
-rw-r--r--device-functions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/device-functions.h b/device-functions.h
index 7076035..dc14abd 100644
--- a/device-functions.h
+++ b/device-functions.h
@@ -10,7 +10,7 @@ void idn_string(gchar** response);
int Set_frequency(int check_possible_only,int word_override,int range_override,int channel,float set_freq);
void Main_Rst(void);
-int set_dac(int dac, int word);
+void set_dac(int dac, int word);
int Set_Amplitude(int check_possible_only,int pol_override,int override_on,int word_override,int range_override,
int switch_range_only,int channel,float new_ampl,int called_from_set_pw);
int Set_Pw(int check_possible_only,int word_override,int range_override,int channel,float set_pw,int called_from_set_ampl);
@@ -18,7 +18,7 @@ int Set_Offset(int check_possible_only,int override_on,int word_override,int ran
int Set_Delay(int check_possible_only,int word_override,int range_override,int channel,float set_delay);
int Set_Double(int channel,int new_setting);
void Ctrl_PRF_Limiter(int enable);
-int Set_Mux(int channel);
+void Set_Mux(int channel);
int Set_Func(int channel,int mode);
int Set_Pol(int channel,int mode);
int Set_Hold(int channel,int mode);
@@ -61,7 +61,7 @@ int Set_avrq_res(int check_possible_only,int word_override,int range_override,in
int Set_slew(int check_possible_only,int word_override,int range_override,int channel,float new_burst_time);
int Set_avrq_ampl(int check_possible_only,int word_override,int range_override,int channel,float new_avrq_ampl);
int go_cal(CalStruct *caldata);
-int cal_string(char *parameter, CalStruct *caldata);
+void cal_string(char *parameter, CalStruct *caldata);
int self_cal();
int do_full_self_cal(CalStruct *caldata);
int I2C_Self_Cal(int channel, int meas_mode, float *meas, float target_time);