diff options
| author | Limor "Ladyada" Fried <limor@ladyada.net> | 2020-11-14 11:47:45 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-14 11:47:45 -0500 |
| commit | f2e911ad91db7c04673e76c884abbc19494a4e7f (patch) | |
| tree | 47f6a854677781382d715791e7d7534d71887f7a /shared-bindings/displayio/__init__.h | |
| parent | 9169878ebbeab3fc62785b9bf753499ad9033321 (diff) | |
| parent | bda3267432aee57e704a20308b724369cceeb6ca (diff) | |
Merge pull request #3680 from tannewt/magtag_builtin_display
Add board.DISPLAY to MagTag. Fix luma computation
Diffstat (limited to 'shared-bindings/displayio/__init__.h')
| -rw-r--r-- | shared-bindings/displayio/__init__.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-bindings/displayio/__init__.h b/shared-bindings/displayio/__init__.h index a7748d029..4fc666c59 100644 --- a/shared-bindings/displayio/__init__.h +++ b/shared-bindings/displayio/__init__.h @@ -42,7 +42,8 @@ typedef enum { typedef bool (*display_bus_bus_reset)(mp_obj_t bus); typedef bool (*display_bus_bus_free)(mp_obj_t bus); typedef bool (*display_bus_begin_transaction)(mp_obj_t bus); -typedef void (*display_bus_send)(mp_obj_t bus, display_byte_type_t byte_type, display_chip_select_behavior_t chip_select, uint8_t *data, uint32_t data_length); +typedef void (*display_bus_send)(mp_obj_t bus, display_byte_type_t byte_type, + display_chip_select_behavior_t chip_select, const uint8_t *data, uint32_t data_length); typedef void (*display_bus_end_transaction)(mp_obj_t bus); void common_hal_displayio_release_displays(void); |
