Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bongbui321 committed Oct 11, 2024
1 parent 6fb8662 commit 2ed1f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/drivers/can_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ bool can_loopback = false;
#define can_buffer(x, size) \
static CANPacket_t elems_##x[size]; \
extern can_ring can_##x; \
can_ring can_##x = { .w_ptr = 0, .r_ptr = 0, .fifo_size = (size), .elems = (CANPacket_t *)&(elems_##x) };
can_ring can_##x = { .w_ptr = 0, .r_ptr = 0, .fifo_size = (size)};

#define CAN_RX_BUFFER_SIZE 4096U
#define CAN_TX_BUFFER_SIZE 416U
Expand Down

0 comments on commit 2ed1f7b

Please sign in to comment.