Skip to content

Commit 90e5964

Browse files
committed
Set auto brightness on by default for boards with displays built in.
1 parent a393a6e commit 90e5964

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ports/atmel-samd/boards/hallowing_m0_express/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ void board_init(void) {
9494
display_init_sequence,
9595
sizeof(display_init_sequence),
9696
&pin_PA00);
97+
common_hal_displayio_display_set_auto_brightness(display, true);
9798
}
9899

99100
bool board_requests_safe_mode(void) {

ports/atmel-samd/boards/pyportal/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ void board_init(void) {
9191
display_init_sequence,
9292
sizeof(display_init_sequence),
9393
&pin_PB31);
94+
common_hal_displayio_display_set_auto_brightness(display, true);
9495
}
9596

9697
bool board_requests_safe_mode(void) {

0 commit comments

Comments
 (0)