From af3d809980ae04faf1fdb15688393b990ab73f83 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Thu, 4 Apr 2019 23:18:15 -0700 Subject: [PATCH] Updated boards files with displays --- ports/atmel-samd/boards/hallowing_m0_express/board.c | 3 ++- ports/atmel-samd/boards/pybadge/board.c | 3 ++- ports/atmel-samd/boards/pyportal/board.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ports/atmel-samd/boards/hallowing_m0_express/board.c b/ports/atmel-samd/boards/hallowing_m0_express/board.c index f939ecf18c..ababaef35d 100644 --- a/ports/atmel-samd/boards/hallowing_m0_express/board.c +++ b/ports/atmel-samd/boards/hallowing_m0_express/board.c @@ -94,7 +94,8 @@ void board_init(void) { display_init_sequence, sizeof(display_init_sequence), &pin_PA00, - false); // single_byte_bounds + false, // single_byte_bounds + false); // data_as_commands common_hal_displayio_display_set_auto_brightness(display, true); } diff --git a/ports/atmel-samd/boards/pybadge/board.c b/ports/atmel-samd/boards/pybadge/board.c index 5253970f91..867fb9fa48 100644 --- a/ports/atmel-samd/boards/pybadge/board.c +++ b/ports/atmel-samd/boards/pybadge/board.c @@ -100,7 +100,8 @@ void board_init(void) { display_init_sequence, sizeof(display_init_sequence), &pin_PA00, - false); // single_byte_bounds + false, // single_byte_bounds + false); // data_as_commands common_hal_displayio_display_set_auto_brightness(display, true); } diff --git a/ports/atmel-samd/boards/pyportal/board.c b/ports/atmel-samd/boards/pyportal/board.c index 0878289cf5..d0a6020661 100644 --- a/ports/atmel-samd/boards/pyportal/board.c +++ b/ports/atmel-samd/boards/pyportal/board.c @@ -91,7 +91,8 @@ void board_init(void) { display_init_sequence, sizeof(display_init_sequence), &pin_PB31, - false); // single_byte_bounds + false, // single_byte_bounds + false); // data_as_commands common_hal_displayio_display_set_auto_brightness(display, true); }