Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
regicidalplutophage authored Dec 9, 2024
1 parent fa91afd commit 9d94ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kmk/bootcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ def bootcfg(
import usb_cdc

usb_cdc.enable(data=True)

# sense not provided -> Skip boot configuration that may disable debug or
# rescue facilities.
if sense is None:
return False

# sense pulled low -> Skip boot configuration that may disable debug or
# rescue facilities.
if not sense.value:
Expand Down

0 comments on commit 9d94ae4

Please sign in to comment.