From: Felix Held Date: Sat, 13 Jan 2018 02:19:36 +0000 (+1100) Subject: Fix all remaining indentation issues in python code X-Git-Tag: 24jan2021_ls180~1762^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6318a2b29af663a5d21ed37f940802cfcd9c94ce;p=litex.git Fix all remaining indentation issues in python code I ran a script that shouldn't have missed any tab in the python source files. --- diff --git a/litex/boards/platforms/kcu105.py b/litex/boards/platforms/kcu105.py index 027da7bf..f83c87ea 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 389a441c..e990a29e 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 43ebbd7b..f73ecd1f 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 7e7a1f38..92fe82fe 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()