Skip to content

Commit 611d784

Browse files
committed
minor fixes
1 parent 0af744b commit 611d784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eprom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
f.write(data)
5959
numBytes=numBytes+1
6060
f.close()
61-
print("Done\n")
61+
print("\nDone\n")
6262
#Burn EPROM, see schematic at my website
6363
if(option==2):
6464
name=input("What's the name of the file?")
@@ -85,7 +85,7 @@
8585
print("Writing data. Current porcentage:{:.2%}".format(i/numsectors),end='\r')
8686
#print("CHK:", CHK)
8787
response=~CHK
88-
88+
8989
#keeps trying while the replied checksum is not correct
9090
while response!=CHK:
9191
ser.write(data)

0 commit comments

Comments
 (0)