Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAN queue size much lower than CandleLight #6

Open
CoryNessCTR opened this issue Aug 14, 2018 · 0 comments
Open

CAN queue size much lower than CandleLight #6

CoryNessCTR opened this issue Aug 14, 2018 · 0 comments

Comments

@CoryNessCTR
Copy link
Contributor

CAN_QUEUE_SIZE currently needs to be defined at 4 as opposed to 64 in CandleLight to solve #1

If it's too large calloc won't allocate any memory and will return a null pointer. Specifically look for
struct gs_host_frame *msgbuf = calloc(CAN_QUEUE_SIZE, sizeof(struct gs_host_frame)); and ensure *msgbuf is not null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant