repo.or.cz
/
betaflight.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Change dcm_kp default to 25000
[betaflight.git]
/
src
/
main
/
common
/
filter.h
blob
6f3b588549cb31950831b09bcf9df55b8d3898bb
1
/*
2
* filter.h
3
*
4
* Created on: 24 jun. 2015
5
* Author: borisb
6
*/
7
8
9
10
typedef
struct
filterStatePt1_s
{
11
float
state
;
12
float
RC
;
13
}
filterStatePt1_t
;
14
15
float
filterApplyPt1
(
float
input
,
filterStatePt1_t
*
filter
,
uint8_t
f_cut
,
float
dt
);
16
17
void
filterApply7TapFIR
(
int16_t
data
[]);