prepend_drive_to_path() function
Prepend drive letters to path names This function returns new path path pointers, pointing to a temporary buffer inside ctx.
Syntax
static void prepend_drive_to_path(vfs_fat_ctx_t * ctx,
const char ** path,
const char ** path2);
Arguments
path
as input, pointer to the path; as output, pointer to the new path
path2
as input, pointer to the path; as output, pointer to the new path
Notes
Call this function with ctx->lock acquired. Paths are valid while the lock is held.