Skip to content

Commit 11c8080

Browse files
committed
touch up doc
1 parent fa96ea1 commit 11c8080

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared-bindings/usb_hid/__init__.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
//| The default set of devices is ``Device.KEYBOARD, Device.MOUSE, Device.CONSUMER_CONTROL``,
4242
//| On boards where `usb_hid` is disabled by default, `devices` is an empty tuple.
4343
//|
44-
//| If a boot device is enabled by `usb_hid.enable)`, *and* the host has requested a boot device,
45-
//| the `devices` tuple is *replaced* when ``code.py`` starts with a single-element tuple
44+
//| If a boot device is enabled by `usb_hid.enable()`, *and* the host has requested a boot device,
45+
//| the `devices` tuple is **replaced** when ``code.py`` starts with a single-element tuple
4646
//| containing a `Device` that describes the boot device chosen (keyboard or mouse).
4747
//| The request for a boot device overrides any other HID devices.
4848
//| """
@@ -143,7 +143,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(usb_hid_enable_obj, 1, usb_hid_enable);
143143
//| """
144144
//| :return: the boot device requested by the host, if any.
145145
//| Returns 0 if the host did not request a boot device, or if `usb_hid.enable()`
146-
//| was called with `boot_device=0`, the default, which disables boot device support.
146+
//| was called with ``boot_device=0``, the default, which disables boot device support.
147147
//| If the host did request a boot device,
148148
//| returns the value of ``boot_device`` set in `usb_hid.enable()`:
149149
//| ``1`` for a boot keyboard, or ``2`` for boot mouse.

0 commit comments

Comments
 (0)