mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Filter: add consts
This commit is contained in:
parent
7855d242c7
commit
f4000e66e6
@ -40,11 +40,11 @@ public:
|
||||
void reset();
|
||||
|
||||
// get filter size
|
||||
uint8_t get_filter_size() {
|
||||
uint8_t get_filter_size() const {
|
||||
return FILTER_SIZE;
|
||||
};
|
||||
|
||||
virtual T get_sample(uint8_t i) {
|
||||
virtual T get_sample(uint8_t i) const {
|
||||
return samples[i];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user