Commit 561614dc authored by Daan Vreeken's avatar Daan Vreeken
Browse files

Add create struct to 'bridge_pwm' block.

	modified:   controller/block/block_bridge_pwm.c
parent 0a2c1d49
......@@ -147,7 +147,8 @@ static struct controller_block_outterm_list outterms[] = {
{ NULL },
};
struct controller_block * block_bridge_pwm_create(char *name)
struct controller_block * block_bridge_pwm_create(char *name, int argc,
va_list val)
{
struct controller_block *bridge;
......@@ -189,3 +190,9 @@ err_inputs:
free(bridge);
return NULL;
}
BLOCK_CREATE(bridge_pwm) = {
.create = block_bridge_pwm_create,
.args = { NULL },
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment