diff options
| author | tanek liang <[email protected]> | 2017-07-29 14:21:40 +0800 |
|---|---|---|
| committer | tanek liang <[email protected]> | 2017-07-29 14:21:40 +0800 |
| commit | d793cfdef79650ded8180ec4ee9df022072bad4d (patch) | |
| tree | 289eb8066c6e5c87c3dd0984e9c6def9c23c9a44 /bsp/lpc2148 | |
| parent | dcfaa9a909887a0957e7052b01187d140f6da2f8 (diff) | |
[bsp] fix incompatible type error for "finsh_system_init()"
Diffstat (limited to 'bsp/lpc2148')
| -rw-r--r-- | bsp/lpc2148/applications/startup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/lpc2148/applications/startup.c b/bsp/lpc2148/applications/startup.c index 5efc41fd80..e9a7967819 100644 --- a/bsp/lpc2148/applications/startup.c +++ b/bsp/lpc2148/applications/startup.c @@ -34,7 +34,7 @@ /*@{*/ #ifdef RT_USING_FINSH -extern void finsh_system_init(void); +extern int finsh_system_init(void); #endif extern int rt_application_init(void); @@ -43,7 +43,7 @@ extern void rt_show_version(void); extern rt_err_t rt_hw_serial_init(void); #endif #ifdef RT_USING_FINSH -extern void finsh_system_init(void); +extern int finsh_system_init(void); #endif #ifdef __CC_ARM |
