diff --git a/mpf/config_spec.yaml b/mpf/config_spec.yaml index 2aedefef2..ae98b7742 100644 --- a/mpf/config_spec.yaml +++ b/mpf/config_spec.yaml @@ -662,6 +662,7 @@ fast_exp_board: led_ports: list|subconfig(fast_led_port)|None led_fade_time: single|ms|0 led_hz: single|float|30 + ignore_led_errors: single|bool|false fast_breakout: port: single|enum(1,2,3)| model: single|str| diff --git a/mpf/platforms/fast/fast_exp_board.py b/mpf/platforms/fast/fast_exp_board.py index 4fc6e31c9..78adffb41 100644 --- a/mpf/platforms/fast/fast_exp_board.py +++ b/mpf/platforms/fast/fast_exp_board.py @@ -179,8 +179,9 @@ def update_leds(self): except Exception as e: self.log.error( f"Error decoding the following message for board {breakout_address} : {msg_header}{msg}") - self.log.debug("Attempted update that caused this error: %s", dirty_leds) - raise e + self.log.info("Attempted update that caused this error: %s", dirty_leds) + if not self.config['ignore_led_errors']: + raise e def set_led_fade(self, rate: int) -> None: """Set LED fade rate in ms."""