From e13550c4dda74c3831baff4a00e7b4d2486a3c07 Mon Sep 17 00:00:00 2001 From: hathach Date: Sat, 12 May 2018 12:33:53 +0700 Subject: [PATCH] fix build error --- examples/obsolete/device/src/msc_device_app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/obsolete/device/src/msc_device_app.c b/examples/obsolete/device/src/msc_device_app.c index ae4b37149..7b1fb9411 100644 --- a/examples/obsolete/device/src/msc_device_app.c +++ b/examples/obsolete/device/src/msc_device_app.c @@ -99,7 +99,7 @@ void msc_app_umount(uint8_t rhport) } -int32_t tud_msc_scsi_cb (uint8_t rhport, uint8_t lun, uint8_t scsi_cmd[16], void* buffer, uint16_t bufsize) +int32_t tud_msc_scsi_cb (uint8_t rhport, uint8_t lun, uint8_t const scsi_cmd[16], void* buffer, uint16_t bufsize) { // read10 & write10 has their own callback and MUST not be handled here