removed unnessessary code

This commit is contained in:
Seth Samuel 2024-12-02 13:22:13 +13:00
parent 9f0d7120ee
commit 1bf8b589a3

View file

@ -201,31 +201,3 @@ arduinoConnectedLable.pack()
rootFrameGui.mainloop() rootFrameGui.mainloop()
exit() #### exit for testing
#select game
while gameSelected == False:
gameNo = input("1:BEAMNG\n2:FORZA\n\n7:Toggle CSV out ("+str(csvOut)+")\n9:SET SERIAL PORT ("+SERIAL_PORT+")\n")
if gameNo == "1":
portToConnect = BEAMNG_UDP_PORT
gameSelected = True
gameType=GameType.BEAMNG
print("BeamNG Selected")
elif gameNo == "2":
portToConnect = FORZA_UDP_PORT
gameType=GameType.FORZA
gameSelected=True
print("Forza Selected")
elif gameNo == "7":
if csvOut == True:
csvOut=False
elif csvOut ==False:
csvOut =True
elif gameNo == "9":
SERIAL_PORT = input("set serial port: ")
else:
print("please select a number from the list")
print("ready:\n")