summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-11-27 11:10:06 +0700
committerhathach <[email protected]>2024-11-27 11:10:06 +0700
commit453d69517b8f7f019ac855531e9e433d9d158f37 (patch)
treebd94af827c6c1ad91a9e8108d834b7ed2d6e0e23 /src/class
parent63771086d9beddb9f1b08792dccddbb17daa5ef7 (diff)
fix multiple flag on compiling
Diffstat (limited to 'src/class')
-rw-r--r--src/class/msc/msc_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/msc/msc_device.c b/src/class/msc/msc_device.c
index cfae646a1..dd66bfb6f 100644
--- a/src/class/msc/msc_device.c
+++ b/src/class/msc/msc_device.c
@@ -147,7 +147,7 @@ static inline uint16_t rdwr10_get_blocksize(msc_cbw_t const* cbw) {
return (uint16_t) (cbw->total_bytes / block_count);
}
-uint8_t rdwr10_validate_cmd(msc_cbw_t const* cbw) {
+static uint8_t rdwr10_validate_cmd(msc_cbw_t const* cbw) {
uint8_t status = MSC_CSW_STATUS_PASSED;
uint16_t const block_count = rdwr10_get_blockcount(cbw);