From 08627f421be4e8c7d4cdb51ca1247df79b8ae45f Mon Sep 17 00:00:00 2001 From: Tero Marttila Date: Fri, 26 Jan 2024 23:16:51 +0200 Subject: [PATCH] main dmx: fix dmx_output_options init -> crash without gpio enabled --- main/dmx_output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/dmx_output.c b/main/dmx_output.c index 83522cc9..ec160e15 100644 --- a/main/dmx_output.c +++ b/main/dmx_output.c @@ -23,7 +23,7 @@ int init_dmx_output(struct dmx_output_state *state, int index, const struct dmx_ } // dmx output - struct dmx_output_options options; + struct dmx_output_options options = {}; LOG_INFO("dmx-output%d: enabled", index + 1);