px_uploader: fix code and output spacing

This commit is contained in:
Matthias Grob
2018-09-30 18:28:38 +02:00
committed by Beat Küng
parent 181b2f69ed
commit ebdea6e50d

View File

@@ -346,7 +346,7 @@ class uploader(object):
# if it fails we are on a real Serial Port
self.ackWindowedMode = True
self.port.baudrate =self.baudrate_bootloader
self.port.baudrate = self.baudrate_bootloader
# send the GET_DEVICE command and wait for an info parameter
def __getInfo(self, param):
@@ -398,7 +398,7 @@ class uploader(object):
# send the CHIP_ERASE command and wait for the bootloader to become ready
def __erase(self, label):
print("Windowed mode:%s" % self.ackWindowedMode)
print("Windowed mode: %s" % self.ackWindowedMode)
print("\n", end='')
self.__send(uploader.CHIP_ERASE +
uploader.EOC)