sim-config: Fix pathname in reset function
This commit is contained in:
parent
50723f08d9
commit
8cea86285c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue