diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-03-12 16:20:12 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-03-12 17:18:33 -0700 |
| commit | afbf59019eec003ed79ee4467d0f3f76c00c68d2 (patch) | |
| tree | a89df15ce9f9c02e18165560b95a2527799239fe /shared-bindings/displayio/__init__.c | |
| parent | 224e9b10092c7142857cafb7df712843906401fd (diff) | |
Update displayio docs to add detail to display bus comments
Fixes #1599
Diffstat (limited to 'shared-bindings/displayio/__init__.c')
| -rw-r--r-- | shared-bindings/displayio/__init__.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shared-bindings/displayio/__init__.c b/shared-bindings/displayio/__init__.c index 1ee755014..177bd5fff 100644 --- a/shared-bindings/displayio/__init__.c +++ b/shared-bindings/displayio/__init__.c @@ -71,8 +71,6 @@ //| Shape //| TileGrid //| -//| All libraries change hardware state but are never deinit -//| //| .. method:: release_displays() @@ -81,6 +79,9 @@ //| release the builtin display on boards that have one. You will need to reinitialize it yourself //| afterwards. //| +//| Use this once in your code.py if you initialize a display. Place it right before the +//| initialization so the display is active as long as possible. +//| STATIC mp_obj_t displayio_release_displays(void) { common_hal_displayio_release_displays(); return mp_const_none; |
