OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:thresh_filter
(Results
1 - 2
of
2
) sorted by null
/hardware/invensense/mlsdk/mllite/
compass.c
146
static void thresh_filter_init(struct yas_thresh_filter *
thresh_filter
, float threshold)
148
thresh_filter
->threshold = threshold;
149
thresh_filter
->last = 0;
152
static float thresh_filter_filter(struct yas_thresh_filter *
thresh_filter
, float in)
154
if (in <
thresh_filter
->last -
thresh_filter
->threshold
155
||
thresh_filter
->last +
thresh_filter
->threshold < in) {
156
thresh_filter
->last = in;
160
return
thresh_filter
->last
[
all
...]
compass.h
64
struct yas_thresh_filter
thresh_filter
[3];
member in struct:__anon20561
Completed in 253 milliseconds