[CCC DEV] Problem with servo = possible bug with plumbing pwm code

Matt Jadud matt at jadud.com
Mon Jan 31 22:10:20 GMT 2011


On Mon, Jan 31, 2011 at 16:58, Steve Pretty
<steve.g.pretty at btinternet.com> wrote:
> no reason for doing that - it is ORing the required configuration values
> with whatever values may have been in those registers previously.  This is a
> particularly nasty little bug - as the code will work for some of the people
> some of the time, but definitely not all of the people all of the time.

Drew and I had developed that code this past summer, and were
uncertain at the time as to where our bug lie. That, and I ran out of
summer. What you say and what you found makes sense to me; I have my
suspicions as to how/why the BITOR made it into the code.

Steve, you're really doing some amazing work here. Thank you.

Christian is, I think, rolling an update for push. (It fixes the
problems we created with our last update. Erch.) I don't think we have
your Plumbing updates in this push. What I'd like to do is update the
library with your changes, and then ask you to see if those work
correctly. We'll then run those in the *next* update.

> In the listing below, I have copied the original code lines, commented out
> the bit that appears wrong, and corrected the copy.

Thank you.

Matt



More information about the developers mailing list