Permalink
Browse files

Merge pull request #304 from EmbeddedMan/BugFix298

Bug fix for issue #298
  • Loading branch information...
2 parents 0222053 + 6b4fac9 commit 4a49be4e4c5b5b031f31a9d3d9bed1289b4e0ef1 @ricklon ricklon committed Dec 1, 2012
@@ -58,7 +58,7 @@
//* Nov 1, 2011 <MLS> Also fixed some other compatibilty issues
//* Nov 12, 2012 <GeneApperson> Rewrite for board variant support
//* Sep 8, 2012 <BrianSchmalz> Fix dropping bytes on USB RX bug
-//* Jul 26, 2012 <GeneApperson> Added PPS support for PIC32MX1xx/MX2xx devices
+//* Jul 26, 2012 <GeneApperson> Added PPS support for PIC32MX1xx/MX2xx devices
//************************************************************************
#ifndef __LANGUAGE_C__
#define __LANGUAGE_C__
@@ -227,7 +227,7 @@ int32_t SoftPWMServoRawWrite(uint32_t Pin, uint32_t Value, bool PinType)
}
// And if this pin already has this PWM Value, then don't do anything.
- if (Value == Chan[InactiveBuffer][Pin].PWMValue)
+ if (Value == Chan[ActiveBuffer][Pin].PWMValue)
{
return SOFTPWMSERVO_OK;
}

0 comments on commit 4a49be4

Please sign in to comment.