summaryrefslogtreecommitdiff
path: root/demos/host/src/cli.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-10-01 17:05:02 +0700
committerhathach <[email protected]>2013-10-01 17:05:02 +0700
commitef83b8e10a1afd85fd935d5656f363927f3cd4bb (patch)
treeedad5b9ddcb6f8ec0e02f87845bbb1ef0cc76870 /demos/host/src/cli.c
parentfffd6138972832b8c6c5e12724ed43159e27122c (diff)
wrap up msc demo
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;