USBH: testhal: fix compile warning

This commit is contained in:
Diego Ismirlian 2017-10-29 17:39:56 -03:00
parent bfc5805886
commit c1e174b5b2
2 changed files with 3 additions and 3 deletions

View File

@ -31,9 +31,9 @@
<locationURI>$%7BPARENT-5-PROJECT_LOC%7D/ChibiOS-contrib/os</locationURI>
</link>
<link>
<name>ChibiOS-RT-os</name>
<name>ChibiOS-RT</name>
<type>2</type>
<locationURI>$%7BPARENT-5-PROJECT_LOC%7D/ChibiOS-RT/os</locationURI>
<locationURI>$%7BPARENT-5-PROJECT_LOC%7D/ChibiOS-RT</locationURI>
</link>
</linkedResources>
</projectDescription>

View File

@ -464,7 +464,7 @@ start:
//scan files test
if (1) {
usbDbgPuts("FS: Scan files test");
strcpy(fbuff, FATFSDEV_MSDLUN0_DRIVE);
strcpy((char *)fbuff, FATFSDEV_MSDLUN0_DRIVE);
scan_files(chp, (char *)fbuff);
}
}