X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Fgoodfet.maxusbmass;h=d0562fa206e693447e1d97c570cf0eed56f3e3c6;hp=de25c6ef0c08baed2ab67bdb290b1de177a9f520;hb=353f324a84d67ed30c4ef59f6d7494d340b4ed42;hpb=62532b1f49bbe404bc911824a2a02139dab22b1f diff --git a/client/goodfet.maxusbmass b/client/goodfet.maxusbmass index de25c6e..d0562fa 100755 --- a/client/goodfet.maxusbmass +++ b/client/goodfet.maxusbmass @@ -284,7 +284,7 @@ class GoodFETMAXUSBMass(GoodFETMAXUSBDevice): #print "Responding to CB inquiry."; response=[ 0x00, # 00 for Direct, 1F for "no floppy" - 0x80, # make 0x80 for removable media + 0x80, # make 0x80 for removable media, 0x00 for fixed 0x00, # Version 0x01, # Response Data Format 0x1f, #Additional length. @@ -297,6 +297,8 @@ class GoodFETMAXUSBMass(GoodFETMAXUSBDevice): ord('0'),ord('.'),ord('0'),ord('1')] #print "Sending %i byte reply to %i byte query." % ( # len(response),dtlen); + while len(response)