From 171a1eb4a0057a427672c4df7c81375effabc747 Mon Sep 17 00:00:00 2001 From: rbaron Date: Tue, 7 Nov 2023 20:57:54 +0100 Subject: [PATCH] Uses newwer FIXED_PARTITION_ID for fs_mount_t ... This is what new samples use, but there should be no functional difference. --- code/nrf-connect/samples/input/prj.conf | 2 -- code/nrf-connect/samples/zigbee/src/flash_fs.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/code/nrf-connect/samples/input/prj.conf b/code/nrf-connect/samples/input/prj.conf index 243e054..cef2c65 100644 --- a/code/nrf-connect/samples/input/prj.conf +++ b/code/nrf-connect/samples/input/prj.conf @@ -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 diff --git a/code/nrf-connect/samples/zigbee/src/flash_fs.c b/code/nrf-connect/samples/zigbee/src/flash_fs.c index 01e72f5..ae45a8b 100644 --- a/code/nrf-connect/samples/zigbee/src/flash_fs.c +++ b/code/nrf-connect/samples/zigbee/src/flash_fs.c @@ -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", };