summaryrefslogtreecommitdiffstats
path: root/toprammer
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2010-02-08 03:18:05 +0100
committerMichael Buesch <mb@bu3sch.de>2010-02-08 03:18:05 +0100
commitb9c668a0401e25210b208f7df6e951b2918ab958 (patch)
tree2e8dd9953873531b2f712da5fff520d341e3d5d0 /toprammer
parent2af8ad088410ac1af8ea9209d7994ececae10efe (diff)
downloadtoprammer-b9c668a0401e25210b208f7df6e951b2918ab958.tar.xz
toprammer-b9c668a0401e25210b208f7df6e951b2918ab958.zip
atmega8dip28: Implement Flash writing
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'toprammer')
-rwxr-xr-xtoprammer6
1 files changed, 3 insertions, 3 deletions
diff --git a/toprammer b/toprammer
index f24a9af..571df51 100755
--- a/toprammer
+++ b/toprammer
@@ -368,7 +368,7 @@ class TOP:
def receive(self, size):
"""Receive 'size' bytes on the bulk-in ep."""
# If there are blocked commands in the queue, send them now.
- self.__flushCommands()
+ self.flushCommands()
try:
ep = self.bulkIn.address
data = ""
@@ -397,9 +397,9 @@ class TOP:
return
assert(self.commandsBlocked)
self.commandsBlocked = False
- self.__flushCommands()
+ self.flushCommands()
- def __flushCommands(self):
+ def flushCommands(self):
"""Flush the command queue, but don't unblock it."""
command = ""
for oneCommand in self.commandQueue:
bues.ch cgit interface