diff options
| author | hathach <[email protected]> | 2021-08-28 01:23:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-28 01:23:20 +0700 |
| commit | a53839ef44345377e863e4635909c2dacc81f059 (patch) | |
| tree | d057080d95d559db30a89317cfa43409c3a70981 /examples/device/dynamic_configuration/src | |
| parent | 53ea1e13243eae30455cc008eda0ee5d63ccf361 (diff) | |
correct msc example return type of tud_msc_scsi_cb()
Diffstat (limited to 'examples/device/dynamic_configuration/src')
| -rw-r--r-- | examples/device/dynamic_configuration/src/msc_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/dynamic_configuration/src/msc_disk.c b/examples/device/dynamic_configuration/src/msc_disk.c index 5aa7befc9..a4826fbe1 100644 --- a/examples/device/dynamic_configuration/src/msc_disk.c +++ b/examples/device/dynamic_configuration/src/msc_disk.c @@ -208,7 +208,7 @@ int32_t tud_msc_scsi_cb (uint8_t lun, uint8_t const scsi_cmd[16], void* buffer, // read10 & write10 has their own callback and MUST not be handled here void const* response = NULL; - uint16_t resplen = 0; + int32_t resplen = 0; // most scsi handled is input bool in_xfer = true; |
