Moddable-OpenSource / moddable

Tools for developers to create truly open IoT products using standard JavaScript on low cost microcontrollers.
http://www.moddable.com
1.32k stars 236 forks source link

Fix typo in MODDEF_FILE_LFS_PARTITION_SIZE #1370

Closed cmidgley closed 2 months ago

cmidgley commented 2 months ago

The RAM disk for LittleFS has it's RAM disk size set with:

    "defines": {
        "file": {
            "lfs": {
                "partition_size": 131072
            }
        }
    }

which translates to the macro MODDEF_FILE_LFS_PARTITION_SIZE. However, the code was consistently implemented with a typo in the name, as MODDEF_FILE_LFS_PARITION_SIZE (missing a 'T'). This PR fixes all uses of the macro name.

phoddie commented 2 months ago

Oops. Thank you.

mkellner commented 2 months ago

This has been merged and will be available in the next drop.