changed gex transport to use the new GEX vid pid by default

master
Ondřej Hruška 7 years ago
parent 20511f34f3
commit b697246e55
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      gex/transport.py
  2. 6
      gexync.py

@ -166,7 +166,7 @@ class TrxRawUSB (BaseGexTransport):
self.dataSem = threading.Semaphore()
self.dataSem.acquire()
GEX_ID = (0x0483, 0x572a)
GEX_ID = (0x1209, 0x4c60)
# -------------------- FIND THE DEVICE ------------------------

@ -113,9 +113,9 @@ class GexIniEditor(QtGui.QMainWindow):
if __name__ == '__main__':
app = QtGui.QApplication(sys.argv)
# editor = GexIniEditor(lambda: gex.TrxRawUSB())
editor = GexIniEditor(lambda: gex.TrxSerialThread(port='/dev/ttyUSB1',
baud=57600))
editor = GexIniEditor(lambda: gex.TrxRawUSB())
# editor = GexIniEditor(lambda: gex.TrxSerialThread(port='/dev/ttyUSB1',
# baud=57600))
# centered resize
w = 800

Loading…
Cancel
Save