Skip to content

Commit 84356e3

Browse files
committed
dreampi.py: shake off the modem on first run (from scrivani)
1 parent c7499df commit 84356e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: tools/dreampi/dreampi.py

+1
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ def start_dial_tone(self):
587587
subprocess.Popen("/home/pi/dreampi/dcnet.rpi")
588588
time.sleep(2)
589589
subprocess.call("sudo killall dcnet.rpi".split())
590+
self.shake_it_off()
590591
self.reset()
591592
self.send_command(b"AT+FCLASS=8") # Enter voice mode
592593
self.send_command(b"AT+VLS=1") # Go off-hook

0 commit comments

Comments
 (0)