libm2k icon indicating copy to clipboard operation
libm2k copied to clipboard

GenericAnalogIn: Check if 'sampling_frequency' is a channel attribute.

Open teoperisanu opened this issue 4 years ago • 0 comments

An iio device samples using only one samplerate. Sometimes the 'sampling_frequency' attribute is located inside all channels, these sharing it.

TODO:

  • [x] check each channel until the attribute is found.
  • [ ] add device index/name as parameter

Signed-off-by: Teo Perisanu [email protected]

teoperisanu avatar Aug 23 '21 15:08 teoperisanu