diff --git a/SConscript b/SConscript index 04c3946..0c7ddeb 100644 --- a/SConscript +++ b/SConscript @@ -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'] diff --git a/plugins/flash/elog_flash_cfg.h b/plugins/flash/elog_flash_cfg.h index a0e2cf1..47187ab 100644 --- a/plugins/flash/elog_flash_cfg.h +++ b/plugins/flash/elog_flash_cfg.h @@ -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_ */