From c1e174b5b2a1bae962d9a0fca1a5916f20c9e816 Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Sun, 29 Oct 2017 17:39:56 -0300 Subject: USBH: testhal: fix compile warning --- testhal/STM32/STM32F4xx/USB_HOST/.project | 4 ++-- testhal/STM32/STM32F4xx/USB_HOST/main.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'testhal') 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 @@ $%7BPARENT-5-PROJECT_LOC%7D/ChibiOS-contrib/os - ChibiOS-RT-os + ChibiOS-RT 2 - $%7BPARENT-5-PROJECT_LOC%7D/ChibiOS-RT/os + $%7BPARENT-5-PROJECT_LOC%7D/ChibiOS-RT 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); } } -- cgit v1.2.3