Skip to content
Commit 3cd70201 authored by Allan Stephens's avatar Allan Stephens Committed by Anas Nashif
Browse files

kernel: Fix bug in dynamic alert initialization



k_alert_init() needs to set the "flags" field of its associated
work item to zero, indicating that the work item has not yet
been submitted to the system workqueue. Using the standard work
item initializer macro ensures this is done correctly.

Change-Id: I0001a5920f20fb1d8dc182191e6a549c5bf89be5
Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
parent dd6f9ca9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment