Skip to content

Commit

Permalink
Fix Hysteresis<0>::setValue()
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Mar 24, 2024
1 parent 3a807a2 commit 095c992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AH/Filters/Hysteresis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Hysteresis<0, T_in, T_out> {
}

T_out getValue() const { return prevLevel; }
void setValue(T_in inputLevel) const { prevLevel = inputLevel; }
void setValue(T_in inputLevel) { prevLevel = inputLevel; }

private:
T_in prevLevel = 0;
Expand Down

0 comments on commit 095c992

Please sign in to comment.