mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 13:40:19 +00:00
Updated version
This commit is contained in:
parent
5e62e3bc22
commit
30d8e351dd
@ -282,7 +282,7 @@ class RNodeInterface(Interface):
|
|||||||
serial.timeout = 0.1
|
serial.timeout = 0.1
|
||||||
elif vid == 0x10C4:
|
elif vid == 0x10C4:
|
||||||
# Hardware parameters for SiLabs CP210x @ 115200 baud
|
# Hardware parameters for SiLabs CP210x @ 115200 baud
|
||||||
serial.DEFAULT_READ_BUFFER_SIZE = 64
|
serial.DEFAULT_READ_BUFFER_SIZE = 64
|
||||||
serial.USB_READ_TIMEOUT_MILLIS = 12
|
serial.USB_READ_TIMEOUT_MILLIS = 12
|
||||||
serial.timeout = 0.012
|
serial.timeout = 0.012
|
||||||
elif vid == 0x1A86 and pid == 0x55D4:
|
elif vid == 0x1A86 and pid == 0x55D4:
|
||||||
|
@ -1073,7 +1073,7 @@ def main():
|
|||||||
print(" ["+str(pi)+"] "+str(port.device)+" ("+str(port.product)+", "+str(port.serial_number)+")")
|
print(" ["+str(pi)+"] "+str(port.device)+" ("+str(port.product)+", "+str(port.serial_number)+")")
|
||||||
pi += 1
|
pi += 1
|
||||||
|
|
||||||
print("\nWhat serial port is your device connected to? ", end="")
|
print("\nEnter the number of the serial port your device is connected to: ", end="")
|
||||||
try:
|
try:
|
||||||
c_port = int(input())
|
c_port = int(input())
|
||||||
if c_port < 1 or c_port > len(ports):
|
if c_port < 1 or c_port > len(ports):
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = "0.4.2"
|
__version__ = "0.4.3"
|
||||||
|
Loading…
Reference in New Issue
Block a user