sim-config: Fix pathname in reset function

This commit is contained in:
Alexandre Bard 2019-05-29 08:31:54 +02:00
parent 50723f08d9
commit 8cea86285c
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def reset_modem():
time.sleep(2)
write_to_file(GPIO_PATH + 'gpio' + GPIO_SIM_RST + '/value', '0')
# Wait until modem rebooted
while os.path.exists('dev/ttyACM0'):
while os.path.exists('/dev/ttyACM0'):
time.sleep(1)
while not os.path.exists('/dev/ttyACM0'):
time.sleep(1)