diff options
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
{
|