diff options
| author | hathach <[email protected]> | 2020-11-08 12:40:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-11-08 12:40:20 +0700 |
| commit | 1b1e205a3014aa4e26933e42167632b16154c14c (patch) | |
| tree | 7e8d90bfebf33932d53e0ae4251dcee491962b9c /examples/device | |
| parent | ef99d37c97544640b9837dd982b662da34f82fd9 (diff) | |
clean up
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/cdc_msc/src/msc_disk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/cdc_msc/src/msc_disk.c b/examples/device/cdc_msc/src/msc_disk.c index 877154773..503baace9 100644 --- a/examples/device/cdc_msc/src/msc_disk.c +++ b/examples/device/cdc_msc/src/msc_disk.c @@ -28,6 +28,7 @@ #if CFG_TUD_MSC +// whether host does safe-eject static bool ejected = false; // Some MCU doesn't have enough 8KB SRAM to store the whole disk @@ -139,7 +140,7 @@ bool tud_msc_test_unit_ready_cb(uint8_t lun) { (void) lun; - // RAM disk is ready until is not ejected + // RAM disk is ready until ejected if (ejected) { tud_msc_set_sense(lun, SCSI_SENSE_NOT_READY, 0x3a, 0x00); return false; |
