Skip to content

Commit

Permalink
Fixes for USB Version Graphic
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Aug 7, 2014
1 parent 5f2ea30 commit b0b6923
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions I-Nex/i-nex/.src/Disk_Drives.module
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,13 @@ Public Sub disks()
Next

Select Case USB_VERSION
Case Like "*1*"
Case Like "*1.0*"
USB_PIC = Picture.Load("Data/USB/usb1")
Case Like "*2*"
Case Like "*1.1*"
USB_PIC = Picture.Load("Data/USB/usb1")
Case Like "*2.0*"
USB_PIC = Picture.Load("Data/USB/usb2")
Case Like "*2.1*"
USB_PIC = Picture.Load("Data/USB/usb2")
Case Like "*3*"
USB_PIC = Picture.Load("Data/USB/usb3")
Expand Down
10 changes: 7 additions & 3 deletions I-Nex/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -918,11 +918,15 @@ Label134.Text = "Rq affinity: " & Disk_Drives.rq_affinity
PictureBox5.Picture = Disk_Drives.USB_PIC

PictureBox4.Picture = Disk_Drives.SATA_PIC
If Disk_Drives.USB_SPEED = Null Then
Panel2.Visible = False
Else
Panel2.Visible = True
Endif

If Disk_Drives.sata_spd = Null Then
Panel1.Visible = False
Panel2.Visible = True
Else
Panel2.Visible = False
Else
Panel1.Visible = True
Endif
End
Expand Down

0 comments on commit b0b6923

Please sign in to comment.