Skip to content

Commit

Permalink
main dmx: fix dmx_output_options init -> crash without gpio enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
SpComb committed Jan 26, 2024
1 parent c921e73 commit 08627f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/dmx_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 08627f4

Please sign in to comment.