Skip to content

Commit

Permalink
handle rrm commands
Browse files Browse the repository at this point in the history
Signed-off-by: John Crispin <john@phrozen.org>
  • Loading branch information
blogic committed Sep 19, 2023
1 parent 876c33f commit 718bd6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ubus.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ void ubus_blink_leds(int duration)
blobmsg_add_string(&u, "state", "blink");
blobmsg_add_u32(&u, "duration", duration);

syslog(0, "blogic %s:%s[%d]\n", __FILE__, __func__, __LINE__);
ubus_invoke_async(&conn.ctx, state, "set", u.head, &async);
ubus_abort_request(&conn.ctx, &async);
}
Expand Down

0 comments on commit 718bd6d

Please sign in to comment.