feat: taken qsort from PDCLIB, Sorting drivers. Generic driver

structure. Driver ranking
This commit is contained in:
2021-03-07 14:43:35 +01:00
parent 01efc5e98a
commit f6e720bad9
11 changed files with 255 additions and 44 deletions

View File

@@ -195,6 +195,7 @@ get_fat_table_value(uint8_t fat_type, const uint8_t *fat_table, uint32_t active_
BLOCK_DEV_DRIVER(
.name = "fat",
.rank = 10000,
.check_device = fat_check_device,
.free_device = NULL, // todo
);