Fix sampling rate of iio and reduce reporting frequency from devices
This commit is contained in:
parent
9da2278640
commit
98e64bb864
3 changed files with 49 additions and 9 deletions
|
|
@ -52,6 +52,9 @@
|
|||
#define LSB_PER_16G ((double)0.004785)
|
||||
#define LSB_PER_16G_STR "0.004785"
|
||||
|
||||
#define PREFERRED_SAMPLING_FREQ ((double)800.000000)
|
||||
#define PREFERRED_SAMPLING_FREQ_STR "800.000000"
|
||||
|
||||
// courtesy of linux kernel
|
||||
#ifndef __packed
|
||||
#define __packed __attribute__((packed))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue