diff options
| author | Ha Thach <[email protected]> | 2026-04-06 19:11:33 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-06 19:11:33 +0700 |
| commit | 7c3f5979ff9be05b7938f10dbaa6e55daaf8bdc1 (patch) | |
| tree | eef35722aefb347b9761c98cef5848ef26edb60a /examples/host | |
| parent | 751f465a39299ba0638c1700d1aa2d53e8d1b877 (diff) | |
| parent | 4c7a9fed96e0a81cc640333c1c82fee54fa4be34 (diff) | |
Merge pull request #3563 from hathach/remove-iar-make-support
Remove IAR toolchain support from make build system
Diffstat (limited to 'examples/host')
| -rw-r--r-- | examples/host/msc_file_explorer/Makefile | 2 | ||||
| -rw-r--r-- | examples/host/msc_file_explorer/src/msc_app.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/msc_file_explorer/Makefile b/examples/host/msc_file_explorer/Makefile index 39d00d982..8c0b012ad 100644 --- a/examples/host/msc_file_explorer/Makefile +++ b/examples/host/msc_file_explorer/Makefile @@ -21,6 +21,6 @@ SRC_C += \ $(FATFS_PATH)/ffunicode.c \ # suppress warning caused by fatfs -CFLAGS_GCC += -Wno-error=cast-qual +CFLAGS += -Wno-error=cast-qual include ../../../hw/bsp/family_rules.mk diff --git a/examples/host/msc_file_explorer/src/msc_app.c b/examples/host/msc_file_explorer/src/msc_app.c index c7cc366b5..3f15bb84f 100644 --- a/examples/host/msc_file_explorer/src/msc_app.c +++ b/examples/host/msc_file_explorer/src/msc_app.c @@ -260,7 +260,7 @@ DRESULT disk_ioctl(BYTE pdrv, /* Physical drive nmuber (0..) */ return RES_OK; case GET_SECTOR_COUNT: - *((DWORD *)buff) = (WORD)tuh_msc_get_block_count(dev_addr, lun); + *((DWORD *)buff) = (DWORD)tuh_msc_get_block_count(dev_addr, lun); return RES_OK; case GET_SECTOR_SIZE: |
