diff options
author | sicarius <devnull@localhost> | 2007-02-22 14:12:03 +0100 |
---|---|---|
committer | sicarius <devnull@localhost> | 2007-02-22 14:12:03 +0100 |
commit | 655dd7522fb60e2ef0e68437337178184109f347 (patch) | |
tree | bebff27847c72ebf4be3d763f1da4f66d704dffa /source/Concept/Framework/modules/output | |
parent | 9525458918383afbf324854fc2130d3740154da3 (diff) | |
download | rc2007-soccer-655dd7522fb60e2ef0e68437337178184109f347.tar rc2007-soccer-655dd7522fb60e2ef0e68437337178184109f347.zip |
Codework
Diffstat (limited to 'source/Concept/Framework/modules/output')
-rwxr-xr-x | source/Concept/Framework/modules/output/dribbler.h | 7 |
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
{
|