diff options
| author | WangHuachen <[email protected]> | 2020-11-08 19:30:50 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-08 19:30:50 +0800 |
| commit | 9756c77f0447f9ce4f00a37600298a1f1fd90cda (patch) | |
| tree | 093247a1719c087dba33783be3a4ee44c1026b2d /bsp/efm32 | |
| parent | 9545529b33cbaae137f1e389dd0e3a5233d516da (diff) | |
| parent | 4b2b9a87c6f0a87b125e5c5a18bcfcf663de9fbb (diff) | |
Merge pull request #1 from RT-Thread/master
同步原有仓库
Diffstat (limited to 'bsp/efm32')
| -rw-r--r-- | bsp/efm32/copy_this_file_shell.c | 2 | ||||
| -rw-r--r-- | bsp/efm32/rtconfig.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bsp/efm32/copy_this_file_shell.c b/bsp/efm32/copy_this_file_shell.c index 24c2644e1e..45ce3cb45a 100644 --- a/bsp/efm32/copy_this_file_shell.c +++ b/bsp/efm32/copy_this_file_shell.c @@ -88,7 +88,7 @@ int isprint(unsigned char ch) #if defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR) #include <dfs_posix.h> -const char* finsh_get_prompt() +const char* finsh_get_prompt(void) { #define _PROMPT "finsh " static char finsh_prompt[RT_CONSOLEBUF_SIZE + 1] = {_PROMPT}; diff --git a/bsp/efm32/rtconfig.h b/bsp/efm32/rtconfig.h index 4ee9bf1a8e..040f07fa02 100644 --- a/bsp/efm32/rtconfig.h +++ b/bsp/efm32/rtconfig.h @@ -213,6 +213,7 @@ /* SECTION: Runtime library */ // #define RT_USING_NOLIBC // #define RT_USING_NEWLIB +#define RT_LIBC_USING_TIME /* SECTION: Console options */ #define RT_USING_CONSOLE |
