File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
src/hardware/korad-kaxxxxp Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 2424#define DEVICE_PROCESSING_TIME_MS 80
2525
2626SR_PRIV int korad_kaxxxxp_send_cmd (struct sr_serial_dev_inst * serial ,
27- const char * cmd )
27+ const char * cmd )
2828{
2929 int ret ;
3030
@@ -168,7 +168,7 @@ static void give_device_time_to_process(struct dev_context *devc)
168168}
169169
170170SR_PRIV int korad_kaxxxxp_set_value (struct sr_serial_dev_inst * serial ,
171- int target , struct dev_context * devc )
171+ int target , struct dev_context * devc )
172172{
173173 char msg [20 ];
174174 int ret ;
@@ -252,7 +252,7 @@ SR_PRIV int korad_kaxxxxp_set_value(struct sr_serial_dev_inst *serial,
252252}
253253
254254SR_PRIV int korad_kaxxxxp_get_value (struct sr_serial_dev_inst * serial ,
255- int target , struct dev_context * devc )
255+ int target , struct dev_context * devc )
256256{
257257 int ret , count ;
258258 char reply [6 ];
@@ -377,7 +377,7 @@ SR_PRIV int korad_kaxxxxp_get_value(struct sr_serial_dev_inst *serial,
377377}
378378
379379SR_PRIV int korad_kaxxxxp_get_all_values (struct sr_serial_dev_inst * serial ,
380- struct dev_context * devc )
380+ struct dev_context * devc )
381381{
382382 int ret , target ;
383383
Original file line number Diff line number Diff line change @@ -102,15 +102,15 @@ struct dev_context {
102102};
103103
104104SR_PRIV int korad_kaxxxxp_send_cmd (struct sr_serial_dev_inst * serial ,
105- const char * cmd );
105+ const char * cmd );
106106SR_PRIV int korad_kaxxxxp_read_chars (struct sr_serial_dev_inst * serial ,
107- size_t count , char * buf );
107+ size_t count , char * buf );
108108SR_PRIV int korad_kaxxxxp_set_value (struct sr_serial_dev_inst * serial ,
109- int target , struct dev_context * devc );
109+ int target , struct dev_context * devc );
110110SR_PRIV int korad_kaxxxxp_get_value (struct sr_serial_dev_inst * serial ,
111- int target , struct dev_context * devc );
111+ int target , struct dev_context * devc );
112112SR_PRIV int korad_kaxxxxp_get_all_values (struct sr_serial_dev_inst * serial ,
113- struct dev_context * devc );
113+ struct dev_context * devc );
114114SR_PRIV int korad_kaxxxxp_receive_data (int fd , int revents , void * cb_data );
115115
116116#endif
You can’t perform that action at this time.
0 commit comments