Fix a typo in the FAL_PART_MAGIC_WORD definition (#182)

This commit is contained in:
Denis Shreiber 2022-10-02 21:06:48 +07:00 committed by GitHub
parent b9b6fd00cd
commit cd789e69eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -25,8 +25,8 @@ extern struct fal_flash_dev nor_flash0;
/* partition table */
#define FAL_PART_TABLE \
{ \
{FAL_PART_MAGIC_WROD, "fdb_tsdb1", "norflash0", 0, 1024*1024, 0}, \
{FAL_PART_MAGIC_WROD, "fdb_kvdb1", "norflash0", 1024*1024, 1024*1024, 0}, \
{FAL_PART_MAGIC_WORD, "fdb_tsdb1", "norflash0", 0, 1024*1024, 0}, \
{FAL_PART_MAGIC_WORD, "fdb_kvdb1", "norflash0", 1024*1024, 1024*1024, 0}, \
}
#endif /* FAL_PART_HAS_TABLE_CFG */

View File

@ -16,7 +16,6 @@
#define FAL_PART_MAGIC_WORD 0x45503130
#define FAL_PART_MAGIC_WORD_H 0x4550L
#define FAL_PART_MAGIC_WORD_L 0x3130L
#define FAL_PART_MAGIC_WROD 0x45503130
struct part_flash_info
{