Skip to content

Commit

Permalink
【更新】Scons 构建脚本。
Browse files Browse the repository at this point in the history
Signed-off-by: armink <[email protected]>
  • Loading branch information
armink committed May 17, 2018
1 parent 120d325 commit 35fbdc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ src += Glob('port/*.c')

path = [cwd + '/inc']

if GetDepend(['PKG_ELOG_ENABLE_PLUGIN_FLASH']):
if GetDepend(['PKG_EASYLOGGER_ENABLE_PLUGIN_FLASH']):
src += Glob('plugins/flash/*.c')
path += [cwd + '/plugins/flash']

Expand Down
4 changes: 2 additions & 2 deletions plugins/flash/elog_flash_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
/* EasyLogger flash log plugin's using buffer mode */
#define ELOG_FLASH_USING_BUF_MODE
/* EasyLogger flash log plugin's RAM buffer size */
#if defined(PKG_ELOG_FLASH_BUF_SIZE)
#define ELOG_FLASH_BUF_SIZE PKG_ELOG_FLASH_BUF_SIZE
#if defined(PKG_EASYLOGGER_FLASH_BUF_SIZE)
#define ELOG_FLASH_BUF_SIZE PKG_EASYLOGGER_FLASH_BUF_SIZE
#endif

#endif /* _ELOG_FLASH_CFG_H_ */

0 comments on commit 35fbdc9

Please sign in to comment.