summaryrefslogtreecommitdiff
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
parentfffd6138972832b8c6c5e12724ed43159e27122c (diff)
wrap up msc demo
-rw-r--r--demos/host/host_os_none/host_os_none.uvopt16
-rw-r--r--demos/host/src/cli.c3
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 937f1c345..f7edae87d 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 @@
<Bp>
<Number>0</Number>
<Type>0</Type>
- <LineNumber>297</LineNumber>
+ <LineNumber>316</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
@@ -407,7 +407,7 @@
<Bp>
<Number>0</Number>
<Type>0</Type>
- <LineNumber>297</LineNumber>
+ <LineNumber>316</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>0</Address>
<ByteObject>0</ByteObject>
@@ -1146,10 +1146,10 @@
<FileType>2</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
- <ColumnNumber>10</ColumnNumber>
+ <ColumnNumber>35</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
- <TopLine>146</TopLine>
- <CurrentLine>147</CurrentLine>
+ <TopLine>145</TopLine>
+ <CurrentLine>153</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>..\..\bsp\lpc43xx\startup_keil\startup_LPC43xx.s</PathWithFileName>
<FilenameWithoutPath>startup_LPC43xx.s</FilenameWithoutPath>
@@ -1186,10 +1186,10 @@
<FileType>1</FileType>
<tvExp>0</tvExp>
<Focus>0</Focus>
- <ColumnNumber>32</ColumnNumber>
+ <ColumnNumber>0</ColumnNumber>
<tvExpOptDlg>0</tvExpOptDlg>
- <TopLine>2029</TopLine>
- <CurrentLine>2043</CurrentLine>
+ <TopLine>2785</TopLine>
+ <CurrentLine>2795</CurrentLine>
<bDave2>0</bDave2>
<PathWithFileName>..\..\..\vendor\fatfs\ff.c</PathWithFileName>
<FilenameWithoutPath>ff.c</FilenameWithoutPath>
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;