From 0422ea56723d35a6bfe3bb1e621ebdba78787479 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 12 May 2013 11:36:33 +0100 Subject: [PATCH] Off-by-one spotted by Clement. --- src/Instrumentation/transponder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/transponder.cxx b/src/Instrumentation/transponder.cxx index 3ff7f77c1..2658cf49f 100644 --- a/src/Instrumentation/transponder.cxx +++ b/src/Instrumentation/transponder.cxx @@ -191,7 +191,7 @@ void Transponder::update(double dt) } } - if (_knob > KNOB_ON) { + if (_knob >= KNOB_ON) { _transmittedId_node->setIntValue(_idCode_node->getIntValue()); } else { _transmittedId_node->setIntValue(INVALID_ID);