提交 c090cfc8 编写于 作者: Z zhuqing 提交者: Jinliang Li

BugID:24656372:modify kernel version, blink LED macro, f103 i2c code,wdg test;core

Change-Id: Id234e3c026e1bfced6f7a0a642e292c03740321b
上级 aac38de3
......@@ -5,9 +5,9 @@
#include <stdlib.h>
#include "k_api.h"
#include "aos/kernel.h"
#include "cli_api.h"
#include "cli_conf.h"
#include "cli_adapt.h"
......@@ -114,10 +114,8 @@ static void help_cmd(char *buf, int32_t len, int32_t argc, char **argv)
static void version_cmd(char *buf, int32_t len, int32_t argc, char **argv)
{
#ifdef OSAL_RHINO
cli_printf("kernel version :%d\r\n", (int32_t)krhino_version_get());
#else
cli_printf("kernel version :posix\r\n");
#ifdef SYSINFO_KERNEL_VERSION
cli_printf("kernel version :%s\r\n",SYSINFO_KERNEL_VERSION);
#endif
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册