diff options
| author | Craig Forbes <cpforbes@starlake.org> | 2019-06-14 15:30:38 -0500 |
|---|---|---|
| committer | Craig Forbes <cpforbes@starlake.org> | 2019-06-18 16:59:05 -0500 |
| commit | db74b92e77757caab7c5f2bb1d6ae09f5be3ed97 (patch) | |
| tree | d34dc37166cafe397b2d4f986edb17c48e988d54 /shared-bindings/displayio | |
| parent | d852d0f04328fb348eb74a64d8fd2f7389b8f828 (diff) | |
Fix displayio.Display docstring type for display_bus.
Add docs for group parameter for Display.show.
Diffstat (limited to 'shared-bindings/displayio')
| -rw-r--r-- | shared-bindings/displayio/Display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-bindings/displayio/Display.c b/shared-bindings/displayio/Display.c index 84302a175..1a36872a6 100644 --- a/shared-bindings/displayio/Display.c +++ b/shared-bindings/displayio/Display.c @@ -78,7 +78,8 @@ //| The initialization sequence should always leave the display memory access inline with the scan //| of the display to minimize tearing artifacts. //| -//| :param displayio.FourWire or displayio.ParallelBus display_bus: The bus that the display is connected to +//| :param display_bus: The bus that the display is connected to +//| :type display_bus: displayio.FourWire or displayio.ParallelBus //| :param buffer init_sequence: Byte-packed initialization sequence. //| :param int width: Width in pixels //| :param int height: Height in pixels @@ -182,6 +183,7 @@ static displayio_display_obj_t* native_display(mp_obj_t display_obj) { //| Switches to displaying the given group of layers. When group is None, the default //| CircuitPython terminal will be shown. //| +//| :param Group group: The group to show. STATIC mp_obj_t displayio_display_obj_show(mp_obj_t self_in, mp_obj_t group_in) { displayio_display_obj_t *self = native_display(self_in); displayio_group_t* group = NULL; |
