mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-06 09:31:20 -04:00
[dev] improve UFD vs HDD/SSD detection
* If the device reports HDD or SSD in its name, take it into account * Also fix ChangeLog
This commit is contained in:
parent
11633a318a
commit
155b86bc01
4 changed files with 15 additions and 11 deletions
|
@ -418,9 +418,9 @@ BOOL GetOpticalMedia(IMG_SAVE* img_save)
|
|||
/* For debugging user reports of HDDs vs UFDs */
|
||||
//#define FORCED_DEVICE
|
||||
#ifdef FORCED_DEVICE
|
||||
#define FORCED_VID 0x6557
|
||||
#define FORCED_PID 0x0021
|
||||
#define FORCED_NAME "USB DISK 2.0 USB Device"
|
||||
#define FORCED_VID 0x05DC
|
||||
#define FORCED_PID 0xBA12
|
||||
#define FORCED_NAME "Lexar SFF-SSD SCSI Disk Device"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue