diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-06-29 15:26:51 +0200 |
---|---|---|
committer | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-08-04 13:33:31 +0200 |
commit | ce1cb0b28c7ce33a47bf07edd86227d8dbfeffe9 (patch) | |
tree | dc93eba9aab7cf6cf7fa25da40f262eebf637ac2 | |
parent | 5437d7491253d7f273da2ba76ca029ae2b78926d (diff) |
usb-control: fix flake8 E303 too many blank lines (3)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
-rw-r--r-- | usb-control/cp2102_haikou.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usb-control/cp2102_haikou.py b/usb-control/cp2102_haikou.py index 41cc76c..a2f0815 100644 --- a/usb-control/cp2102_haikou.py +++ b/usb-control/cp2102_haikou.py @@ -61,7 +61,6 @@ def get_bootmode(dev): return cp210x_controller.get_gpio(dev, GPIO_BIOS) - def do_status(dev): powerstate = get_powerstate(dev) bootmode = get_bootmode(dev) @@ -124,7 +123,6 @@ def do_cycle_to_maskrom(dev): set_bootmode(dev, VALUE_BIOS_NORMAL) - def main(product_string): command_dict = { 'status': (do_status, |