diff options
Diffstat (limited to 'src/include/delta.h')
-rw-r--r-- | src/include/delta.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/delta.h b/src/include/delta.h index 1af774959..4365eb482 100644 --- a/src/include/delta.h +++ b/src/include/delta.h @@ -97,6 +97,9 @@ extern "C" { }
#endif
+/** Returns TRUE if the speciified timer is armed.*/
+#define chVTIsArmedI(vtp) ((vtp)->vt_func != NULL)
+
#endif /* CH_USE_VIRTUAL_TIMER */
#endif /* _DELTA_H_ */
|