diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-08-23 15:27:21 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-08-23 15:27:21 -0700 |
| commit | 7324b70a7c231a20be971ed81050c8359b87aaab (patch) | |
| tree | 2c301a419a247aa64c8d3fafab6b4b3bfacf7af0 /shared-bindings/displayio/ParallelBus.h | |
| parent | b992ca80e77ccd95397ed0f12063c30f6161e08f (diff) | |
Rework based on Dan's review
Diffstat (limited to 'shared-bindings/displayio/ParallelBus.h')
| -rw-r--r-- | shared-bindings/displayio/ParallelBus.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shared-bindings/displayio/ParallelBus.h b/shared-bindings/displayio/ParallelBus.h index a0f967332..be2aef7d4 100644 --- a/shared-bindings/displayio/ParallelBus.h +++ b/shared-bindings/displayio/ParallelBus.h @@ -28,8 +28,9 @@ #define MICROPY_INCLUDED_SHARED_BINDINGS_DISPLAYBUSIO_PARALLELBUS_H #include "common-hal/displayio/ParallelBus.h" -#include "common-hal/microcontroller/Pin.h" +#include "common-hal/microcontroller/Pin.h" +#include "shared-bindings/displayio/__init__.h" #include "shared-module/displayio/Group.h" extern const mp_obj_type_t displayio_parallelbus_type; @@ -45,7 +46,7 @@ bool common_hal_displayio_parallelbus_bus_free(mp_obj_t self); bool common_hal_displayio_parallelbus_begin_transaction(mp_obj_t self); -void common_hal_displayio_parallelbus_send(mp_obj_t self, bool command, bool toggle_every_byte, uint8_t *data, uint32_t data_length); +void common_hal_displayio_parallelbus_send(mp_obj_t self, display_byte_type_t byte_type, display_chip_select_behavior_t chip_select, uint8_t *data, uint32_t data_length); void common_hal_displayio_parallelbus_end_transaction(mp_obj_t self); |
