From 525b4e46965cc03db69ae9184ece2a3b6ce48778 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Fri, 4 Aug 2023 10:54:35 +0200 Subject: usb-control: cp2102_haikou.py: fix biosdisable command The biosdisable command was mistakenly setting the mode to normal instead of BIOS_DISABLE, let's fix this. Signed-off-by: Quentin Schulz --- usb-control/cp2102_haikou.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb-control/cp2102_haikou.py b/usb-control/cp2102_haikou.py index c94788c..c6ac6bf 100644 --- a/usb-control/cp2102_haikou.py +++ b/usb-control/cp2102_haikou.py @@ -119,7 +119,7 @@ def main(product_string): 'show status of attached Haikou Baseboards'), 'normalboot': (do_normalboot, 'set bootmode to normal boot'), - 'biosdisable': (do_normalboot, + 'biosdisable': (do_biosdisable, 'set bootmode to BIOS disabled'), 'powerbutton': (do_powerbutton, 'emulate power button press'), -- cgit v1.2.3