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

Compiling issue #1

Closed
Filo301 opened this issue Nov 26, 2023 · 1 comment
Closed

Compiling issue #1

Filo301 opened this issue Nov 26, 2023 · 1 comment

Comments

@Filo301
Copy link

Filo301 commented Nov 26, 2023

Hello
i'm getting error while compiling:

src\main.cpp: At global scope:
src\main.cpp:208:23: error: too many initializers for 'const unsigned char [316]'
HID_END_COLLECTION};
^
*** [.pio\build\digispark-tiny\src\main.cpp.o] Error 1

image

Any idea how to fix that?

@MatejKocourek
Copy link
Owner

There was a mismatch between the array length in usbconfig.h and in the rest of the code, resulting in this error. I forgot to include my new changed version of the configuration file after forking the repo.
Thanks for noticing!

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

2 participants