Skip to content

Commit

Permalink
Uses newwer FIXED_PARTITION_ID for fs_mount_t
Browse files Browse the repository at this point in the history
... This is what new samples use, but there should be no functional
difference.
  • Loading branch information
rbaron committed Nov 7, 2023
1 parent 5199cea commit 171a1eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions code/nrf-connect/samples/input/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ CONFIG_GPIO=y
CONFIG_CBPRINTF_FP_SUPPORT=y

CONFIG_SERIAL=n
CONFIG_PM=y
CONFIG_PM_DEVICE=y

CONFIG_USE_SEGGER_RTT=y

Expand Down
2 changes: 1 addition & 1 deletion code/nrf-connect/samples/zigbee/src/flash_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FS_LITTLEFS_DECLARE_DEFAULT_CONFIG(storage);
static struct fs_mount_t lfs_storage_mnt = {
.type = FS_LITTLEFS,
.fs_data = &storage,
.storage_dev = (void *)FLASH_AREA_ID(storage),
.storage_dev = (void *)FIXED_PARTITION_ID(storage_partition),
.mnt_point = "/lfs",
};

Expand Down

0 comments on commit 171a1eb

Please sign in to comment.