aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/delta.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-15 14:52:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-15 14:52:56 +0000
commit70c86d43ec79032c7172507fc12bf7d78d44a3de (patch)
treeebb5d12bddd55f84a711f0becc1f8c8960744cb2 /src/include/delta.h
parent779840691f4f6b3bb647d85f160ce238defa2de0 (diff)
downloadChibiOS-70c86d43ec79032c7172507fc12bf7d78d44a3de.tar.gz
ChibiOS-70c86d43ec79032c7172507fc12bf7d78d44a3de.tar.bz2
ChibiOS-70c86d43ec79032c7172507fc12bf7d78d44a3de.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@53 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/delta.h')
-rw-r--r--src/include/delta.h3
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_ */