aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian (at) google's mail.com>2017-10-29 17:39:56 -0300
committerDiego Ismirlian <dismirlian (at) google's mail.com>2017-10-29 17:39:56 -0300
commitc1e174b5b2a1bae962d9a0fca1a5916f20c9e816 (patch)
tree340ebd3549c461859546af881eecab60660f95a2 /testhal
parentbfc58058862f1d398543fff3d034369537392e38 (diff)
downloadChibiOS-Contrib-c1e174b5b2a1bae962d9a0fca1a5916f20c9e816.tar.gz
ChibiOS-Contrib-c1e174b5b2a1bae962d9a0fca1a5916f20c9e816.tar.bz2
ChibiOS-Contrib-c1e174b5b2a1bae962d9a0fca1a5916f20c9e816.zip
USBH: testhal: fix compile warning
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/STM32F4xx/USB_HOST/.project4
-rw-r--r--testhal/STM32/STM32F4xx/USB_HOST/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_HOST/.project b/testhal/STM32/STM32F4xx/USB_HOST/.project
index 066a4d6..e2dd63e 100644
--- a/testhal/STM32/STM32F4xx/USB_HOST/.project
+++ b/testhal/STM32/STM32F4xx/USB_HOST/.project
@@ -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>
diff --git a/testhal/STM32/STM32F4xx/USB_HOST/main.c b/testhal/STM32/STM32F4xx/USB_HOST/main.c
index a93a59e..6bc859e 100644
--- a/testhal/STM32/STM32F4xx/USB_HOST/main.c
+++ b/testhal/STM32/STM32F4xx/USB_HOST/main.c
@@ -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);
}
}