From ef83b8e10a1afd85fd935d5656f363927f3cd4bb Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 1 Oct 2013 17:05:02 +0700 Subject: [PATCH] wrap up msc demo --- demos/host/host_os_none/host_os_none.uvopt | 16 ++++++++-------- demos/host/src/cli.c | 3 +++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/demos/host/host_os_none/host_os_none.uvopt b/demos/host/host_os_none/host_os_none.uvopt index 937f1c34..f7edae87 100644 --- a/demos/host/host_os_none/host_os_none.uvopt +++ b/demos/host/host_os_none/host_os_none.uvopt @@ -162,7 +162,7 @@ 0 0 - 297 + 316 1
0
0 @@ -407,7 +407,7 @@ 0 0 - 297 + 316 1
0
0 @@ -1146,10 +1146,10 @@ 2 0 0 - 10 + 35 0 - 146 - 147 + 145 + 153 0 ..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s startup_LPC43xx.s @@ -1186,10 +1186,10 @@ 1 0 0 - 32 + 0 0 - 2029 - 2043 + 2785 + 2795 0 ..\..\..\vendor\fatfs\ff.c ff.c diff --git a/demos/host/src/cli.c b/demos/host/src/cli.c index 8eca90e7..ea83d7bd 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;