summaryrefslogtreecommitdiff
path: root/demos/host/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/host/src/cli.c')
-rw-r--r--demos/host/src/cli.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/host/src/cli.c b/demos/host/src/cli.c
index 8eca90e70..ea83d7bdf 100644
--- a/demos/host/src/cli.c
+++ b/demos/host/src/cli.c
@@ -394,6 +394,9 @@ cli_error_t cli_cmd_copy(char *p_para)
if ( strlen(p_dest) == 0 ) return CLI_ERROR_INVALID_PARA;
+ drive_letter2number(p_para);
+ drive_letter2number(p_dest);
+
//------------- Check Existence of source & dest file -------------//
cli_error_t error = CLI_ERROR_NONE;
FIL src_file, dest_file;