diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-04-15 12:29:32 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-04-17 18:43:57 -0500 |
| commit | 57ce2d1f417bd4c2988155d45739a3a61950471f (patch) | |
| tree | 9f75b80a93b38affb58fdcd2098282d51131253d /shared-bindings/framebufferio/FramebufferDisplay.h | |
| parent | 3d6258f63dce84519704251b86a16c832958c8a6 (diff) | |
framebufferio: get width, etc., from protocol, not object property
Diffstat (limited to 'shared-bindings/framebufferio/FramebufferDisplay.h')
| -rw-r--r-- | shared-bindings/framebufferio/FramebufferDisplay.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/shared-bindings/framebufferio/FramebufferDisplay.h b/shared-bindings/framebufferio/FramebufferDisplay.h index b472088d2..e7ead6ac5 100644 --- a/shared-bindings/framebufferio/FramebufferDisplay.h +++ b/shared-bindings/framebufferio/FramebufferDisplay.h @@ -39,10 +39,9 @@ extern const mp_obj_type_t framebufferio_framebufferdisplay_type; #define NO_BRIGHTNESS_COMMAND 0x100 void common_hal_framebufferio_framebufferdisplay_construct(framebufferio_framebufferdisplay_obj_t* self, - mp_obj_t framebuffer, uint16_t width, uint16_t height, - uint16_t rotation, uint16_t color_depth, - uint8_t bytes_per_cell, - bool auto_refresh, uint16_t native_frames_per_second); + mp_obj_t framebuffer, + uint16_t rotation, + bool auto_refresh); bool common_hal_framebufferio_framebufferdisplay_show(framebufferio_framebufferdisplay_obj_t* self, displayio_group_t* root_group); |
