Skip to content

Commit 70176a7

Browse files
committed
Fix am_ao_event_queue_is_empty()
1 parent 018194d commit 70176a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/ao/ao.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
struct am_ao_state am_ao_state_;
5050

5151
bool am_ao_event_queue_is_empty(struct am_ao *ao) {
52-
return am_event_queue_is_empty(&am_ao_state_.event_queue);
52+
return am_event_queue_is_empty(&ao->event_queue);
5353
}
5454

5555
bool am_ao_publish_exclude_x(

0 commit comments

Comments
 (0)