From b9c668a0401e25210b208f7df6e951b2918ab958 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Mon, 8 Feb 2010 03:18:05 +0100 Subject: atmega8dip28: Implement Flash writing Signed-off-by: Michael Buesch --- toprammer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toprammer') 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: -- cgit v1.2.3