ublox-config: Increase poweroff delay

BugzID: 57325
This commit is contained in:
Alexandre Bard 2019-06-13 13:47:35 +02:00
parent f53a859d80
commit 8acafeecc4
2 changed files with 2 additions and 1 deletions

View File

@ -124,7 +124,7 @@ def poweroff(gpio):
ser.write(b'AT+CPWROFF\r')
ser.close()
time.sleep(2)
time.sleep(7.5)
gpio.set_value(0)

View File

@ -6,6 +6,7 @@ Type=oneshot
ExecStart=/usr/bin/ublox-config
ExecStop=/usr/bin/ublox-config stop
RemainAfterExit=yes
TimeoutStopSec=20
[Install]
RequiredBy=ModemManager.service