summaryrefslogtreecommitdiff
path: root/shared-bindings/displayio/__init__.h
diff options
context:
space:
mode:
authorLimor "Ladyada" Fried <limor@ladyada.net>2020-11-14 11:47:45 -0500
committerGitHub <noreply@github.com>2020-11-14 11:47:45 -0500
commitf2e911ad91db7c04673e76c884abbc19494a4e7f (patch)
tree47f6a854677781382d715791e7d7534d71887f7a /shared-bindings/displayio/__init__.h
parent9169878ebbeab3fc62785b9bf753499ad9033321 (diff)
parentbda3267432aee57e704a20308b724369cceeb6ca (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__.h3
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);