-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
LED Matrix: Task system #12580
LED Matrix: Task system #12580
Conversation
@fauxpark Is something missing here? In trying to pick #9657 back up, it took me a few hours to realize that the reason I only got the lights to work some times (specifically after flashing back and forth from an older firmware) was that |
I'm not sure what you mean, it works fine for me. The LED Matrix code is almost identical to RGB Matrix now, so for the most part, whatever bugs it has have been duplicated to LED Matrix. |
Anyway, commenting out |
EDIT: Now I understand why it's working for me - I'm not testing on a split board (nor do I have one to test on). |
Hmm. sizeof(led_matrix_eeconfig) returns 8 on my ergodox_infinity. Is that just a "feature" of packed struts or is it actually not getting packed in my build? |
I have a theory... could you try removing the I'm not sure why those ifdefs are there, GCC seems to support these pragmas since at least 4.4.4. |
Seems to have solved it partly... sizeof now returns 6, and the flags no longer seem to get overwritten, but they don't seem to be stored properly either. If I don't have EDIT: previously just a set_flags in the init didn't seem to be enough, it seemed like I had to set it more often (with reservation for mistakes due to slight sleep deprivation at the time). |
enable is 2 bits, but ya, was 5 bytes in total, now 6 bytes with that change in development. Eeprom was updated in that branch as well to account for the increased size. |
Looks like I can't count, or read... |
@firetech could you also try splitting |
Same result, 8 bytes with the ifdefs, 6 without. |
Hmm... I've noticed that EEPROM_SIZE defaults to 32 on some keyboards, mine included ( (Due to how EDIT: apparently, I can't read... Literally immediately after
Soooo, I guess I'm stuck with a 32 byte EEPROM (at least my board wasn't bricked). |
Description
Types of Changes
Issues Fixed or Closed by This PR
Checklist