Skip to content

Commit

Permalink
Merge pull request #69 from qmsk/main-dmx-output-gpio-disabled-fix
Browse files Browse the repository at this point in the history
main dmx: fix dmx_output_options init -> crash without gpio enabled
  • Loading branch information
SpComb committed Jan 26, 2024
2 parents d2ea459 + 08627f4 commit 1de02f0
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 1de02f0

Please sign in to comment.