public void Reset()
 {
     USBCore.Reset();
     mode = Mode.Command;
     dataBackend.Position   = 0;
     bytesToWrite           = 0;
     writeCommandDescriptor = null;
 }
예제 #2
0
        public void Reset()
        {
            USBCore.Reset();

            Array.Clear(sramBuffer, 0, sramBuffer.Length);
            Array.Clear(flashBuffer, 0, flashBuffer.Length);

            flashOffset     = 0;
            sramReadOffset  = 0;
            sramWriteOffset = 0;

            sramBytesLeft = 0;
            binaryLength  = 0;

            binarySync.Reset();
        }
 public void Reset()
 {
     buttonState = 0;
     USBCore.Reset();
 }
 public void Reset()
 {
     USBCore.Reset();
     modifiers  = 0;
     pressedKey = 0;
 }