mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 21:20:13 +01:00
Mac OS X sends a SCSI command to remove the medium when it unmounts a drive. If this command is not honoured, then OS X will automatically remount the drive, making it impossible to eject. This patch disables the USB MSC when the right SCSI command is sent.