Skip to content

Commit cc06155

Browse files
committed
shared-bindings/usb_midi/__init__.c: document Windows MIDI name length restriction
1 parent 9004f20 commit cc06155

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shared-bindings/usb_midi/__init__.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ static void set_name(mp_obj_t name_obj, qstr arg_name_qstr, char **custom_name_p
9393
//| This method must be called in boot.py to have any effect.
9494
//|
9595
//| Not available on boards without native USB support.
96+
//|
97+
//| .. warning:: On Windows, if ``audio_control_interface_name`` is more than 31 characters long, Windows
98+
//| will not recognize the device. This issue is not present on macOS or Linux.
9699
//| """
97100
//| ...
98101
//|

0 commit comments

Comments
 (0)