Files
rt-thread/components/drivers
Old-Ding d2d89271ea drivers: fix fan53555 slew rate bounds check
Valid slew_rates indices are 0 through RT_ARRAY_SIZE(slew_rates) - 1.
The current check rejects only values greater than the table size,
allowing slew_idx == RT_ARRAY_SIZE(slew_rates) to index one element
past the table.

Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com>
2026-07-08 14:02:15 +08:00
..
2026-06-15 10:00:57 +08:00
2026-05-08 20:18:31 +08:00
2026-07-04 16:45:24 +08:00
2026-06-15 10:00:57 +08:00