Change wait time from 5s to 1s
This commit is contained in:
parent
811ed08296
commit
adf9fd0aeb
@ -157,7 +157,7 @@ def main():
|
|||||||
print("PLEASE WAIT UNTIL WS-SCRCPY FULLY STARTED (ABOUT 5 MINS), IT TAKES A WHILE TO START THE SERVER.")
|
print("PLEASE WAIT UNTIL WS-SCRCPY FULLY STARTED (ABOUT 5 MINS), IT TAKES A WHILE TO START THE SERVER.")
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
time.sleep(5)
|
time.sleep(1)
|
||||||
curr_ip = get_device_private_ip()
|
curr_ip = get_device_private_ip()
|
||||||
curr_ssid = get_wifi_name()
|
curr_ssid = get_wifi_name()
|
||||||
if curr_ip != device_ip:
|
if curr_ip != device_ip:
|
||||||
|
Loading…
Reference in New Issue
Block a user