Commit 70c08a8d authored by Federico Vaga's avatar Federico Vaga

lib: add mshot size getter

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 7e4a858d
......@@ -196,6 +196,11 @@ extern const char * const libfmcadc_version_s;
/* zio version string used during compilation of libfmcadc */
extern const char * const libfmcadc_zio_version_s;
static inline int fmcadc_mshot_buf_max_size_get(struct adc_dev *dev, int *value)
{
return fmcadc_get_param(dev, "cset0/max-sample-mshot", NULL, value);
}
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment