[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] RFC: Addition to util/setbaud.h
From: |
Weddington, Eric |
Subject: |
RE: [avr-libc-dev] RFC: Addition to util/setbaud.h |
Date: |
Thu, 5 Mar 2009 09:08:20 -0700 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Frédéric Nadeau
> Sent: Thursday, March 05, 2009 8:57 AM
> To: address@hidden
> Subject: [avr-libc-dev] RFC: Addition to util/setbaud.h
>
> Hi there,
>
> I noticed that util/setbaud.h cannot calculate baudrate for sync mode.
>
> I did the following modification to the file. I doubt it will it the
> next release, but I do beleive it is a good thing to have.
>
> Basic explanation:
> if BAUD_SYNC is define and equal to 1, a modified macro is use to
> calculate baud rate.
> If BAUD_SYNC is define and equal to 0 or not define, macro
> works as before.
>
> Modification should not break code that use the current
> version of setbaud.h.
>
> Thanks for your comments
Hi Frédéric,
Could you place your patch in the Patch Tracker on avr-libc? That way it won't
be forgotten.
Eric Weddington