修复IAR IDE 编译不过的问题

This commit is contained in:
tyx 2018-10-24 17:19:37 +08:00
parent 72d9d3bf87
commit 4384599e5b
2 changed files with 3 additions and 1 deletions

View file

@ -53,7 +53,7 @@
/*
* < CONFIG OS
*/
#define CONFIG_KERNEL 1
// #define CONFIG_KERNEL 0
#define PLATFORM_FREERTOS 1
#undef PLATFORM_UCOSII
#undef PLATFORM_ECOS

View file

@ -297,6 +297,7 @@ UartLogCmdExecuteRam(
return FALSE;
}
#ifdef CONFIG_KERNEL
VOID
RtlConsolTaskRam(
@ -361,6 +362,7 @@ RtlConsolTaskRam(
}
}while(1);
}
#endif
/**
* @brief Set UartLog Baud Rate use baudrate val.