diff options
| author | Bastien Nocera <[email protected]> | 2022-12-04 13:58:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-04 19:43:23 +0700 |
| commit | 6a2cf6728906aa61b44ecfe43b4ceef287b29bf8 (patch) | |
| tree | 51b6d5483c8e7d0f605411c574fc5f8bc9035e05 /src/class/msc | |
| parent | f24f47d03849874b8c3ad442aa14f6565e205c47 (diff) | |
Fix typos
Diffstat (limited to 'src/class/msc')
| -rw-r--r-- | src/class/msc/msc_host.c | 4 | ||||
| -rw-r--r-- | src/class/msc/msc_host.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/class/msc/msc_host.c b/src/class/msc/msc_host.c index 9e88ebc30..32f75a84b 100644 --- a/src/class/msc/msc_host.c +++ b/src/class/msc/msc_host.c @@ -200,7 +200,7 @@ bool tuh_msc_test_unit_ready(uint8_t dev_addr, uint8_t lun, tuh_msc_complete_cb_ return tuh_msc_scsi_command(dev_addr, &cbw, NULL, complete_cb, arg); } -bool tuh_msc_request_sense(uint8_t dev_addr, uint8_t lun, void *resposne, tuh_msc_complete_cb_t complete_cb, uintptr_t arg) +bool tuh_msc_request_sense(uint8_t dev_addr, uint8_t lun, void *response, tuh_msc_complete_cb_t complete_cb, uintptr_t arg) { msc_cbw_t cbw; cbw_init(&cbw, lun); @@ -217,7 +217,7 @@ bool tuh_msc_request_sense(uint8_t dev_addr, uint8_t lun, void *resposne, tuh_ms memcpy(cbw.command, &cmd_request_sense, cbw.cmd_len); - return tuh_msc_scsi_command(dev_addr, &cbw, resposne, complete_cb, arg); + return tuh_msc_scsi_command(dev_addr, &cbw, response, complete_cb, arg); } bool tuh_msc_read10(uint8_t dev_addr, uint8_t lun, void * buffer, uint32_t lba, uint16_t block_count, tuh_msc_complete_cb_t complete_cb, uintptr_t arg) diff --git a/src/class/msc/msc_host.h b/src/class/msc/msc_host.h index 416e4318b..5134b63c2 100644 --- a/src/class/msc/msc_host.h +++ b/src/class/msc/msc_host.h @@ -85,7 +85,7 @@ bool tuh_msc_test_unit_ready(uint8_t dev_addr, uint8_t lun, tuh_msc_complete_cb_ // Perform SCSI Request Sense 10 command // Complete callback is invoked when SCSI op is complete. -bool tuh_msc_request_sense(uint8_t dev_addr, uint8_t lun, void *resposne, tuh_msc_complete_cb_t complete_cb, uintptr_t arg); +bool tuh_msc_request_sense(uint8_t dev_addr, uint8_t lun, void *response, tuh_msc_complete_cb_t complete_cb, uintptr_t arg); // Perform SCSI Read 10 command. Read n blocks starting from LBA to buffer // Complete callback is invoked when SCSI op is complete. |
