If LEDControl is used without any LEDMode plugin, `cur_led_mode_` is an unitialized pointer. This initializes it to `nullptr` and guards against accessing it. Signed-off-by: Johannes Becker <alfalfasprossen@gmail.com>pull/858/head
parent
d98dd72e17
commit
9ec48d0a4b
Loading…
Reference in new issue