arduino-libraries / Arduino_UnifiedStorage

Read and write files to flash, USB mass storage and SD cards in a unified way.
GNU Lesser General Public License v2.1
11 stars 3 forks source link

Refactorings #24

Closed sebromero closed 11 months ago

sebromero commented 11 months ago

This PR refactors the code mainly by reformatting, removing empty space, deleting unused code, simplifying code through guard clauses. It also catches an edge case where partitioning would report success even if only a part of the partitions were created successfully.