Mauricio Alexander Flórez Patiño
f7ff4ac9a3
Fix out-of-range LED writes on split keyboards in rgblight ( #26481 )
...
rgblight_led_index() subtracts the clipping start position and returns a
uint8_t, so on the half whose clipping range does not start at 0 the LEDs
of the other half wrap around to indices like 252..255. Those reached
rgblight_driver.set_color() unchecked and, with the RP2040 vendor WS2812
driver, overwrote RAM past the LED buffer (the emulated EEPROM cache).
Skip indices outside the clipping range in setrgb() and route the direct
set_color() calls through it.
Fixes #26480
2026-11-10 14:50:33 +11:00
..
2025-12-08 19:14:46 -08:00
2026-07-13 10:58:12 +01:00
2025-08-17 01:14:48 +01:00
2024-02-17 12:27:34 +00:00
2025-05-22 23:31:15 +10:00
2025-10-19 03:14:37 +01:00
2026-04-28 19:31:00 +01:00
2026-09-10 14:39:53 +10:00
2026-01-01 12:19:14 +00:00
2026-08-02 20:10:35 +01:00
2026-05-07 22:33:31 +01:00
2023-07-27 16:14:34 -07:00
2026-06-18 18:43:32 +01:00
2026-09-25 19:05:33 +01:00
2026-08-05 19:36:31 +01:00
2026-03-15 21:28:40 +11:00
2026-08-27 02:13:00 +01:00
2026-09-20 13:33:08 -07:00
2026-11-10 14:50:33 +11:00
2026-01-08 16:36:40 +11:00
2025-01-19 17:07:11 +00:00
2026-04-06 08:49:05 +08:00
2026-08-25 17:15:01 +01:00
2026-04-28 19:31:00 +01:00
2025-11-30 19:25:13 +00:00
2025-11-30 19:25:13 +00:00
2026-09-10 14:39:53 +10:00
2026-09-10 14:39:53 +10:00
2026-05-22 22:50:52 +01:00
2026-05-22 22:50:52 +01:00
2025-11-11 22:27:12 +11:00
2025-11-30 19:25:52 +00:00
2026-05-27 00:20:24 +01:00
2025-11-11 22:27:12 +11:00
2024-09-02 03:48:17 +01:00
2025-03-28 21:03:59 +11:00
2022-02-12 18:29:31 +00:00
2021-02-07 23:16:15 +00:00
2022-11-03 23:42:58 +00:00
2022-11-03 23:42:58 +00:00
2024-10-12 00:10:02 +01:00
2024-10-12 00:10:02 +01:00
2025-11-30 19:25:13 +00:00
2022-08-12 03:03:36 +01:00
2025-05-22 23:31:15 +10:00
2022-11-03 21:36:58 +00:00
2022-11-03 21:36:58 +00:00
2025-10-19 03:14:37 +01:00
2026-02-13 14:51:33 +08:00
2025-11-30 19:25:13 +00:00
2022-11-12 23:28:11 +00:00
2023-03-22 14:32:49 +11:00
2025-12-21 20:52:55 +00:00
2025-11-30 19:25:13 +00:00
2025-05-27 14:22:55 +01:00
2025-03-21 23:38:34 +11:00
2026-08-25 17:15:01 +01:00
2026-06-24 20:36:51 +01:00
2024-07-03 18:35:54 +10:00
2025-11-30 19:25:13 +00:00
2026-02-12 15:58:13 +00:00
2025-05-22 23:31:15 +10:00
2024-11-09 14:10:10 -08:00
2025-11-30 19:25:13 +00:00
2026-08-25 17:15:01 +01:00
2023-12-11 23:06:18 +00:00
2025-11-12 09:02:08 +11:00
2025-05-22 23:31:15 +10:00
2025-03-19 20:45:56 +01:00
2025-03-19 20:45:56 +01:00
2025-11-30 19:25:13 +00:00
2026-08-27 02:13:00 +01:00
2026-02-13 18:20:18 +00:00
2023-03-27 20:08:17 +01:00
2025-05-22 23:31:15 +10:00
2024-07-16 09:22:17 +10:00
2024-11-21 13:02:49 +00:00
2024-11-21 13:02:49 +00:00
2025-01-01 23:12:58 -08:00
2025-01-01 23:12:58 -08:00
2020-03-06 22:29:01 -08:00
2020-12-26 15:53:12 +11:00
2024-06-22 09:10:58 +01:00
2024-06-22 09:10:58 +01:00
2026-06-14 12:38:34 +10:00
2025-12-21 20:52:55 +00:00
2025-12-21 20:52:55 +00:00
2025-07-25 10:04:12 +10:00
2023-03-10 18:27:29 -08:00
2025-11-30 19:25:52 +00:00
2024-08-19 03:18:28 +01:00
2026-09-25 19:05:33 +01:00
2025-03-21 23:38:34 +11:00
2026-08-27 02:13:00 +01:00
2026-08-27 02:13:00 +01:00
2022-08-29 19:16:49 +02:00
2022-10-15 14:33:24 +11:00
2023-03-22 14:32:49 +11:00
2025-07-11 11:05:41 -06:00
2025-11-30 19:25:13 +00:00
2026-06-14 12:38:34 +10:00
2026-08-25 17:15:01 +01:00
2025-05-12 08:38:48 +10:00
2023-07-25 09:20:41 +10:00
2026-06-18 18:41:12 +01:00
2026-06-18 18:41:12 +01:00
2023-01-28 21:07:51 +00:00
2025-11-30 19:25:13 +00:00
2023-03-22 14:32:49 +11:00
2026-08-25 17:15:01 +01:00
2022-02-12 18:29:31 +00:00
2021-10-28 22:31:59 +01:00
2023-02-12 10:23:07 +11:00
2023-02-12 10:23:07 +11:00
2025-11-30 19:25:13 +00:00
2019-08-30 15:01:52 -07:00
2020-12-26 15:53:12 +11:00
2026-04-17 08:53:05 +10:00
2026-04-17 08:53:05 +10:00
2021-10-28 22:31:59 +01:00
2022-11-05 19:05:01 +00:00
2022-11-04 00:50:59 +00:00