Merge pull request #6894 from gamblor21/autobrightness_fix

Fix with PWM for brightness slowing devices down
This commit is contained in:
Dan Halbert 2022-09-11 23:06:12 -04:00 committed by GitHub
commit 5a053f9ae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -399,7 +399,6 @@ void common_hal_displayio_display_set_auto_refresh(displayio_display_obj_t *self
}
void displayio_display_background(displayio_display_obj_t *self) {
common_hal_displayio_display_set_brightness(self, 1.0);
if (self->auto_refresh && (supervisor_ticks_ms64() - self->core.last_refresh) > self->native_ms_per_frame) {
_refresh_display(self);
}