summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/modules/output/dribbler.h
diff options
context:
space:
mode:
authorsicarius <devnull@localhost>2007-02-22 14:12:03 +0100
committersicarius <devnull@localhost>2007-02-22 14:12:03 +0100
commit655dd7522fb60e2ef0e68437337178184109f347 (patch)
treebebff27847c72ebf4be3d763f1da4f66d704dffa /source/Concept/Framework/modules/output/dribbler.h
parent9525458918383afbf324854fc2130d3740154da3 (diff)
downloadrc2007-soccer-655dd7522fb60e2ef0e68437337178184109f347.tar
rc2007-soccer-655dd7522fb60e2ef0e68437337178184109f347.zip
Codework
Diffstat (limited to 'source/Concept/Framework/modules/output/dribbler.h')
-rwxr-xr-xsource/Concept/Framework/modules/output/dribbler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/Concept/Framework/modules/output/dribbler.h b/source/Concept/Framework/modules/output/dribbler.h
index b11af69..8544698 100755
--- a/source/Concept/Framework/modules/output/dribbler.h
+++ b/source/Concept/Framework/modules/output/dribbler.h
@@ -66,19 +66,20 @@ protected:
{
*hardwarePort |= pinForward;
*hardwarePort &= ~pinReverse;
+ *portPower |= pinPower;
}
else if(curSpeed < 0)
{
*hardwarePort |= pinReverse;
*hardwarePort &= ~pinForward;
+ *portPower |= pinPower;
}
else
{
*hardwarePort |= pinForward;
*hardwarePort |= pinReverse;
- }
-
- *portPower |= pinPower;
+ *portPower &= ~pinPower;
+ }
}
else
{