summaryrefslogtreecommitdiff
path: root/demos/device/src/msc_device_romdisk.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-24 15:37:51 +0700
committerhathach <[email protected]>2014-03-24 15:37:51 +0700
commit7b6bcfcf97d31a9e703db702310af9141f1c04d0 (patch)
tree4fc27feaa0cc07c96c44a0ffba28e4cc800b8bd4 /demos/device/src/msc_device_romdisk.c
parentd3616987b778619ec8bdca2f608326cec0488fb3 (diff)
fix build problem with lpcxrepsso
Diffstat (limited to 'demos/device/src/msc_device_romdisk.c')
-rw-r--r--demos/device/src/msc_device_romdisk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/device/src/msc_device_romdisk.c b/demos/device/src/msc_device_romdisk.c
index a4a22a6bf..7452262e1 100644
--- a/demos/device/src/msc_device_romdisk.c
+++ b/demos/device/src/msc_device_romdisk.c
@@ -1,6 +1,6 @@
/**************************************************************************/
/*!
- @file mscd_app_romdisk.c
+ @file msc_device_romdisk.c
@author hathach (tinyusb.org)
@section LICENSE
@@ -36,7 +36,7 @@
*/
/**************************************************************************/
-#include "mscd_app.h"
+#include "msc_device_app.h"
#if TUSB_CFG_DEVICE_MSC && defined (MSCD_APP_ROMDISK)
@@ -51,7 +51,7 @@
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+
-const uint8_t mscd_app_rommdisk[DISK_BLOCK_NUM][DISK_BLOCK_SIZE] =
+const uint8_t msc_device_app_rommdisk[DISK_BLOCK_NUM][DISK_BLOCK_SIZE] =
{
//------------- Boot Sector -------------//
// byte_per_sector = DISK_BLOCK_SIZE; fat12_sector_num_16 = DISK_BLOCK_NUM;
@@ -99,7 +99,7 @@ static uint8_t sector_buffer[DISK_BLOCK_SIZE];
//--------------------------------------------------------------------+
uint16_t tusbd_msc_read10_cb (uint8_t coreid, uint8_t lun, void** pp_buffer, uint32_t lba, uint16_t block_count)
{
- memcpy(sector_buffer, mscd_app_rommdisk[lba], DISK_BLOCK_SIZE);
+ memcpy(sector_buffer, msc_device_app_rommdisk[lba], DISK_BLOCK_SIZE);
(*pp_buffer) = sector_buffer;
return 1;