Added define guards for SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS so that the value can be passed as an argument during compile time.

pull/2545/head
Marcus Chang 2016-08-25 14:16:59 +01:00
parent f3d652bbe0
commit 076515c15f
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@
#ifndef __FLASH_JOURNAL_CONFIG_H__ #ifndef __FLASH_JOURNAL_CONFIG_H__
#define __FLASH_JOURNAL_CONFIG_H__ #define __FLASH_JOURNAL_CONFIG_H__
#ifndef SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS
#define SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS 4 #define SEQUENTIAL_FLASH_JOURNAL_MAX_LOGGED_BLOBS 4
#endif
#endif /* __FLASH_JOURNAL_CONFIG_H__ */ #endif /* __FLASH_JOURNAL_CONFIG_H__ */