diff --git a/include/rtdef.h b/include/rtdef.h index f48563a2be..b6953d4580 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -33,8 +33,9 @@ extern "C" { /** * RT-Thread version information */ -#define RT_VERSION 4L /**< major version number */ +#define RT_VERSION 1L /**< major version number */ #define RT_SUBVERSION 0L /**< minor version number */ +#define RT_REVISION 0L /**< revise version number */ /** * RT-Thread basic data type definitions diff --git a/src/kservice.c b/src/kservice.c index fef730fd6f..4ce8429ef8 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -465,7 +465,7 @@ void rt_show_version(void) { rt_kprintf("\n \\ | /\n"); rt_kprintf("- RT - Thread Operating System\n"); - rt_kprintf(" / | \\ 0.%d.%d build %s\n", RT_VERSION, RT_SUBVERSION, __DATE__); + rt_kprintf(" / | \\ %d.%d.%d build %s\n", RT_VERSION, RT_SUBVERSION, RT_REVISION, __DATE__); rt_kprintf(" 2006 - 2011 Copyright by rt-thread team\n"); }