summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-05-22 23:26:08 +0000
committer[email protected] <[email protected]>2010-05-22 23:26:08 +0000
commit0eaf2098b86ceef04b60fdd5407ccd9a3206def0 (patch)
tree8fd386325f6e339e39bfd3ae04e9685f1fdf84db /include/rtdef.h
parentb34d10449f6aa9e298a7df44c95706f858840577 (diff)
fix the timer check bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@730 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 479629c9aa..4e414d3041 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -55,6 +55,7 @@ typedef rt_uint32_t rt_off_t; /* Type for offset. */
#define RT_UINT8_MAX 0xff /* Maxium number of UINT8. */
#define RT_UINT16_MAX 0xffff /* Maxium number of UINT16. */
#define RT_UINT32_MAX 0xffffffff /* Maxium number of UINT32. */
+#define RT_TICK_MAX RT_UINT32_MAX /* Maxium number of tick */
/* Compiler Related Definitions */
#ifdef __CC_ARM /* ARM Compiler */