electro-smith / libDaisy

Hardware Library for the Daisy Audio Platform
https://www.electro-smith.com/daisy
MIT License
314 stars 131 forks source link

FatFS Conf Default Lock value -- Disable FS Lock by default #436

Closed stephenhensley closed 2 years ago

stephenhensley commented 2 years ago

Setting was 2, allowing for 2 open FIL objects at a time.

Setting to 0 disables this feature allowing as many open FIL objects as desired, but disables the any locking features built into the filesystem.

This is primarily changing to support more complex sampler work that want to access several files simultaneously.

Opening multiple FILs to the same file for writing should be done with care, or not at all.

github-actions[bot] commented 2 years ago

Unit Test Results

    1 files  ±0    15 suites  ±0   0s :stopwatch: ±0s 141 tests ±0  141 :heavy_check_mark: ±0  0 :zzz: ±0  0 :x: ±0 

Results for commit aa7f2d47. ± Comparison against base commit c9319444.