Closed itarze closed 2 months ago
I'm curious which controller this is for. I can't replicate the MCU crash using an STM32F303 (using a moonlander, which does have a bunch of NO_LED values)
I'm curious which controller this is for. I can't replicate the MCU crash using an STM32F303 (using a moonlander, which does have a bunch of NO_LED values)
Set NO LED to the left half of the keyboard RGB MATRIX, Like this.
And, This will slove it. Maybe not the best solution.
void rgb_matrix_set_color(int index, uint8_t red, uint8_t green, uint8_t blue) {
if (index >= RGB_MATRIX_LED_COUNT) {
return;
}
rgb_matrix_driver.set_color(index, red, green, blue);
}
This problem was generated randomly because this lamp effect used random8(), and it may be that you were not able to reproduce it for this reason.
Describe the Bug
https://github.com/qmk/qmk_firmware/blob/master/quantum/rgb_matrix/animations/pixel_fractal_anim.h
This RGB effect does not limit the NO_LED and will cause access to the wild pointer, which will cause the MCU to malfunction.
Keyboard Used
No response
Link to product page (if applicable)
No response
Operating System
No response
qmk doctor Output
No response
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
No response