os_callout_queued

int os_callout_queued(struct os_callout *c)

Tells whether the callout has been armed or not.

Arguments

ArgumentsDescription
cPointer to callout being checked

Returned values

0: timer is not armed non-zero: timer is armed