Skip to content

Commit

Permalink
ndmx_init() doesn't need to return an error code
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbanBedel committed Oct 25, 2013
1 parent 6703524 commit 3c370fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions firmware/ndmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ void __attribute__((weak))
ndmx_board_post_init(void)
{}

int ndmx_init(void)
void ndmx_init(void)
{
ndmx_board_pre_init();
dmx_init(1, DMX_CHANNEL_COUNT);
ndmx_init_outputs();
ndmx_board_post_init();
return 0;
}

int main(void)
Expand Down

0 comments on commit 3c370fd

Please sign in to comment.