diff options
Diffstat (limited to 'src/sensor_jump_filter_interpreter.cc')
-rw-r--r-- | src/sensor_jump_filter_interpreter.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sensor_jump_filter_interpreter.cc b/src/sensor_jump_filter_interpreter.cc index 4f327d8..2044541 100644 --- a/src/sensor_jump_filter_interpreter.cc +++ b/src/sensor_jump_filter_interpreter.cc @@ -32,6 +32,9 @@ SensorJumpFilterInterpreter::SensorJumpFilterInterpreter(PropRegistry* prop_reg, void SensorJumpFilterInterpreter::SyncInterpretImpl(HardwareState& hwstate, stime_t* timeout) { + const char name[] = "SensorJumpFilterInterpreter::SyncInterpretImpl"; + LogHardwareStatePre(name, hwstate); + if (!enabled_.val_) { next_->SyncInterpret(hwstate, timeout); return; @@ -130,6 +133,7 @@ void SensorJumpFilterInterpreter::SyncInterpretImpl(HardwareState& hwstate, previous_input_[1] = previous_input_[0]; previous_input_[0] = current_input; + LogHardwareStatePost(name, hwstate); next_->SyncInterpret(hwstate, timeout); } |