Mercurial > ecos
diff packages/devs/can/loop/current/src/loop_can.c @ 2424:4c366bd69cd5
* tests/can_overrun1.c (can0_thread): Fix the length of the data
in the message. Add a delay to allow the CAN device to process
the packets.
* test/can_txcevent.c: (can0_thread): Add a delay to allow the CAN device
to process the packet.s
* src/loop_can.c (FIFO_SIZE): Changed to one more than the TX
queue size. If it is less, the loopback tests don't pass because
packets don't get transmitted.
| author | asl |
|---|---|
| date | Tue, 28 Aug 2007 15:56:03 +0000 |
| parents | c6f0c6300d8b |
| children | 74dbf4c3f2e1 |
line wrap: on
line diff
--- a/packages/devs/can/loop/current/src/loop_can.c +++ b/packages/devs/can/loop/current/src/loop_can.c @@ -100,7 +100,7 @@ static cyg_handle_t alarm_handle; //------------------------------------------------------------------------- // Transfer FIFOs -#define FIFO_SIZE 16 +#define FIFO_SIZE 33 struct fifo {
