diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-01-10 11:00:40 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-01-10 11:00:40 -0800 |
| commit | 3dd59c3d5fa59f5bea3acc8e55c4d4a5091e66eb (patch) | |
| tree | 2f88dec06349002ce2406046ab260a7429a21b3d /shared-bindings | |
| parent | b5e40f52c2b1c2890c866d7305e0e99b4811b7f5 (diff) | |
Polish thanks to Dan's feedback
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/usb_midi/PortIn.c | 3 | ||||
| -rw-r--r-- | shared-bindings/usb_midi/PortOut.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/shared-bindings/usb_midi/PortIn.c b/shared-bindings/usb_midi/PortIn.c index 0309b70f7..3c4d4f73f 100644 --- a/shared-bindings/usb_midi/PortIn.c +++ b/shared-bindings/usb_midi/PortIn.c @@ -45,6 +45,9 @@ //| //| Not currently dynamically supported. //| +//| PortIn objects are constructed for every corresponding entry in the USB descriptor and added +//| to the `usb_midi.ports` tuple. +//| STATIC mp_obj_t usb_midi_portin_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *pos_args) { return mp_const_none; diff --git a/shared-bindings/usb_midi/PortOut.c b/shared-bindings/usb_midi/PortOut.c index 156a092e0..8b26b8ffc 100644 --- a/shared-bindings/usb_midi/PortOut.c +++ b/shared-bindings/usb_midi/PortOut.c @@ -45,6 +45,9 @@ //| //| Not currently dynamically supported. //| +//| PortOut objects are constructed for every corresponding entry in the USB descriptor and added +//| to the `usb_midi.ports` tuple. +//| STATIC mp_obj_t usb_midi_portout_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *pos_args) { return mp_const_none; |
