From 698e2ae35feb84d33e125bb9f11d15069bdd87fa Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 25 Apr 2022 22:14:09 -0700 Subject: [PATCH] format code --- uart_demo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uart_demo.py b/uart_demo.py index cf318d5..4054f9b 100755 --- a/uart_demo.py +++ b/uart_demo.py @@ -63,7 +63,7 @@ class TickGenerator(Elaboratable): class SimpleUART(Elaboratable): """Simple transmit-only UART""" - def __init__(self, baud_rate=115200): # default for minicom/screen: 115200 + def __init__(self, baud_rate=115200): # default for minicom/screen: 115200 self.__tick_gen = TickGenerator(baud_rate) self.data_in = Signal(8) self.data_in_valid = Signal() @@ -229,7 +229,7 @@ PLATFORMS = { DEFAULT_PLATFORM = next(iter(PLATFORMS.keys())) DEFAULT_TOOLCHAIN = "yosys_nextpnr" -DEFAULT_TEXT = "Hello World!\r\n" # carriage-return line-feed +DEFAULT_TEXT = "Hello World!\r\n" # carriage-return line-feed PLATFORMS_TEXT = '\n'.join(PLATFORMS.keys()) HELP_TEXT = f""" -- 2.30.2