370 | | === __unsigned int '''_allocate_one_cluster'''( unsigned int* cluster )__ == |
371 | | This function allocates one free cluster from the FAT and returns the cluster index in the <cluster> argument. |
372 | | It updates the FAT slot, and the two FAT descriptor variables "first_free_cluster" and "free_clusters_number". |
| 370 | === __unsigned int '''_get_free_cluster'''( unsigned int* cluster )__ == |
| 371 | This function scan the Fat-Cache from the "_free_cluster_hint" global variable to find the first free cluster index, and return this cluster index in the <cluster> argument. |
| 372 | It does not update any data structure: nor the Fat-Cache, neither the FAT descriptor. |