wrap up msc demo

This commit is contained in:
hathach 2013-10-01 17:05:02 +07:00
parent fffd613897
commit ef83b8e10a
2 changed files with 11 additions and 8 deletions

View File

@ -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>

View File

@ -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;