Skip to content
Snippets Groups Projects
Commit 8d8fdcb4 authored by Tony Abboud's avatar Tony Abboud Committed by Damien George
Browse files

stmhal: add option to query for the current usb mode

Fetch the current usb mode and return a string representation when
pyb.usb_mode() is called with no args. The possible string values are interned
as qstr's. None will be returned if an incorrect mode is set.
parent 821b7f22
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment