Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ec557d8

Browse files
reverting to default "SH" in serial upload shell call
Note, I kept "BASH" option commented out to have nearby for reference with comments.
1 parent 879e020 commit ec557d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ def killall_avrdude():
270270
def program_serial():
271271
serial_hopeful = False
272272
print "serial programming beginning..."
273-
command = "bash /home/pi/SERIAL_UPLOAD/pi_serial_upload.sh"
273+
#command = "bash /home/pi/SERIAL_UPLOAD/pi_serial_upload.sh" #Use BASH for more funcitonality (if coniditionsals etc), but be warned this can add 4-5 seconds before the command begins running
274+
command = "sh /home/pi/SERIAL_UPLOAD/pi_serial_upload.sh" # default to "SH" for immediately running command - useful to still work with serial timeout failure feature
274275
import subprocess
275276
process = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
276277
#output = process.communicate()[0]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /