From 2494399a42bff3b8286a4ccc7ae29e03645f230d Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Wed, 20 Apr 2016 00:35:46 +0300 Subject: esp8266/scripts/flashbdev: Disable debug output/checks. --- esp8266/scripts/flashbdev.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'esp8266/scripts/flashbdev.py') diff --git a/esp8266/scripts/flashbdev.py b/esp8266/scripts/flashbdev.py index f1e85d923b..a46d60be58 100644 --- a/esp8266/scripts/flashbdev.py +++ b/esp8266/scripts/flashbdev.py @@ -10,17 +10,17 @@ class FlashBdev: self.blocks = blocks def readblocks(self, n, buf): - print("readblocks(%s, %x(%d))" % (n, id(buf), len(buf))) + #print("readblocks(%s, %x(%d))" % (n, id(buf), len(buf))) esp.flash_read((n + self.START_SEC) * self.SEC_SIZE, buf) def writeblocks(self, n, buf): - print("writeblocks(%s, %x(%d))" % (n, id(buf), len(buf))) - assert len(buf) <= self.SEC_SIZE, len(buf) + #print("writeblocks(%s, %x(%d))" % (n, id(buf), len(buf))) + #assert len(buf) <= self.SEC_SIZE, len(buf) esp.flash_erase(n + self.START_SEC) esp.flash_write((n + self.START_SEC) * self.SEC_SIZE, buf) def ioctl(self, op, arg): - print("ioctl(%d, %r)" % (op, arg)) + #print("ioctl(%d, %r)" % (op, arg)) if op == 4: # BP_IOCTL_SEC_COUNT return self.blocks if op == 5: # BP_IOCTL_SEC_SIZE -- cgit v1.2.3