From 6318a2b29af663a5d21ed37f940802cfcd9c94ce Mon Sep 17 00:00:00 2001 From: Felix Held Date: Sat, 13 Jan 2018 13:19:36 +1100 Subject: [PATCH] Fix all remaining indentation issues in python code I ran a script that shouldn't have missed any tab in the python source files. --- litex/boards/platforms/kcu105.py | 2 +- litex/soc/cores/xadc.py | 2 +- litex/soc/tools/litex_term.py | 2 +- litex/soc/tools/remote/litex_server.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/litex/boards/platforms/kcu105.py b/litex/boards/platforms/kcu105.py index 027da7bfb..f83c87ea8 100644 --- a/litex/boards/platforms/kcu105.py +++ b/litex/boards/platforms/kcu105.py @@ -61,7 +61,7 @@ _io = [ Subsignal("tx", Pins("K26")), Subsignal("rx", Pins("G25")), IOStandard("LVCMOS18") - ), + ), ("spiflash", 0, # clock needs to be accessed through primitive Subsignal("cs_n", Pins("U7")), diff --git a/litex/soc/cores/xadc.py b/litex/soc/cores/xadc.py index 389a441c1..e990a29ea 100644 --- a/litex/soc/cores/xadc.py +++ b/litex/soc/cores/xadc.py @@ -28,7 +28,7 @@ class XADC(Module, AutoCSR): drdy = Signal() self.specials += Instance("XADC", - # from ug480 + # from ug480 p_INIT_40=0x9000, p_INIT_41=0x2ef0, p_INIT_42=0x0400, p_INIT_48=0x4701, p_INIT_49=0x000f, p_INIT_4A=0x4700, p_INIT_4B=0x0000, diff --git a/litex/soc/tools/litex_term.py b/litex/soc/tools/litex_term.py index 43ebbd7be..f73ecd1f9 100644 --- a/litex/soc/tools/litex_term.py +++ b/litex/soc/tools/litex_term.py @@ -216,7 +216,7 @@ class LiteXTerm: if c == b"\r": sys.stdout.buffer.write(b"\n") else: - sys.stdout.buffer.write(c) + sys.stdout.buffer.write(c) sys.stdout.flush() if self.kernel_image is not None: diff --git a/litex/soc/tools/remote/litex_server.py b/litex/soc/tools/remote/litex_server.py index 7e7a1f389..92fe82fe7 100644 --- a/litex/soc/tools/remote/litex_server.py +++ b/litex/soc/tools/remote/litex_server.py @@ -43,7 +43,7 @@ class RemoteServer(EtherboneIPC): if packet == 0: break except: - break + break packet = EtherbonePacket(packet) packet.decode()