X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Fproto.h;h=0f4b98848914ab1f95e1848fc564a6e9a46f38e0;hb=c2a25ebb8fbf992cdf9fee96d44f1c27f1f48f51;hp=dfce6aa2d246392bab088506ebd7bd8442bb92bf;hpb=1954dfa96310e286bea6b4d55629ba08cee2f417;p=libsigrok.git diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index dfce6aa2..0f4b9884 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -30,6 +30,8 @@ SR_API int sr_analog_to_float(const struct sr_datafeed_analog2 *analog, float *buf); +SR_API int sr_analog_float_to_string(float value, int digits, char *outbuf, + int bufsize); /*--- backend.c -------------------------------------------------------------*/