Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2020-11-23 10:59:59 +0300
committerChristopher Haster <chaster@utexas.edu>2020-11-29 04:52:21 +0300
commita549413077f3a34acbfcaf61570ec1e3f266551c (patch)
treedb0c6080f2b4ba0ef370494cf7b6afa5a51f6c05 /scripts
parent3f6f88778a0de967683363c1dc06be5c143b5821 (diff)
Rename config structs to cfg structs
Since this is already going to be a breaking API change, this renames structs/variables named _config -> _cfg. This is in order to be consistent with functions such as lfs_file_opencfg.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test.py b/scripts/test.py
index e5869c2..244d1ed 100755
--- a/scripts/test.py
+++ b/scripts/test.py
@@ -66,7 +66,7 @@ PROLOGUE = """
__attribute__((unused)) lfs_size_t size;
__attribute__((unused)) int err;
- __attribute__((unused)) const struct lfs_config cfg = {
+ __attribute__((unused)) const struct lfs_cfg cfg = {
.context = &bd,
.read = lfs_testbd_read,
.prog = lfs_testbd_prog,
@@ -81,7 +81,7 @@ PROLOGUE = """
.lookahead_size = LFS_LOOKAHEAD_SIZE,
};
- __attribute__((unused)) const struct lfs_testbd_config bdcfg = {
+ __attribute__((unused)) const struct lfs_testbd_cfg bdcfg = {
.erase_value = LFS_ERASE_VALUE,
.erase_cycles = LFS_ERASE_CYCLES,
.badblock_behavior = LFS_BADBLOCK_BEHAVIOR,