]> sigrok.org Git - libsigrok.git/blobdiff - include/libsigrok/proto.h
SR_DF_ANALOG2 and sr_datafeed_analog2 renames.
[libsigrok.git] / include / libsigrok / proto.h
index d42967fcbd66cfa73b1f9797220c4e6aee7ea0bb..1b5eec7a73979aec4952b994989c782b72fef304 100644 (file)
 
 /*--- analog.c --------------------------------------------------------------*/
 
-SR_API int sr_analog_to_float(const struct sr_datafeed_analog2 *analog,
+SR_API int sr_analog_to_float(const struct sr_datafeed_analog *analog,
                float *buf);
 SR_API int sr_analog_float_to_string(float value, int digits, char **result);
-SR_API int sr_analog_unit_to_string(const struct sr_datafeed_analog2 *analog,
+SR_API int sr_analog_unit_to_string(const struct sr_datafeed_analog *analog,
                char **result);
 SR_API void sr_rational_set(struct sr_rational *r, int64_t p, uint64_t q);