LPC2xxx CAN bugfixes
Hans Rosenfeld
rosenfeld@grumpf.hope-2000.org
Thu Aug 16 17:04:00 GMT 2007
On Thu, Aug 16, 2007 at 06:31:26PM +0200, Hans Rosenfeld wrote:
> There are two bugs in the CAN driver for the LPC2xxx.
>
> One is in include/can_lpc2xxx_baudrates.h: numbers shouldn't be prefixed
> with 0 if they aren't intended to be interpreted as octal. I fixed this
> only where it actually breaks, but the rest should be changed, too.
>
> The other is in src/can_lpc2xxx.c, the definition of "info" is missing
> when only one CAN channel is configured.
I've noticed another strange thing, is there a specific reason that
tests/can_baudrates.c, tests/can_busload.c and tests/can_rx_tx.c all
#include pkgconf/devs_can_loop.h?
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown
More information about the Ecos-patches
mailing list