Merge pull request #3542 from jepler/terminal-memory-allocation
displayio, framebufferio: Remove spurious call to supervisor_start_terminal
This commit is contained in:
commit
4a95965b1a
|
@ -107,8 +107,6 @@ void common_hal_displayio_display_construct(displayio_display_obj_t* self,
|
|||
i += 2 + data_size;
|
||||
}
|
||||
|
||||
supervisor_start_terminal(width, height);
|
||||
|
||||
// Always set the backlight type in case we're reusing memory.
|
||||
self->backlight_inout.base.type = &mp_type_NoneType;
|
||||
if (backlight_pin != NULL && common_hal_mcu_pin_is_free(backlight_pin)) {
|
||||
|
|
|
@ -90,8 +90,6 @@ void common_hal_displayio_epaperdisplay_construct(displayio_epaperdisplay_obj_t*
|
|||
// TODO: Clear
|
||||
}
|
||||
|
||||
supervisor_start_terminal(width, height);
|
||||
|
||||
// Set the group after initialization otherwise we may send pixels while we delay in
|
||||
// initialization.
|
||||
common_hal_displayio_epaperdisplay_show(self, &circuitpython_splash);
|
||||
|
|
|
@ -96,8 +96,6 @@ void common_hal_framebufferio_framebufferdisplay_construct(framebufferio_framebu
|
|||
common_hal_framebufferio_framebufferdisplay_set_rotation(self, rotation);
|
||||
}
|
||||
|
||||
supervisor_start_terminal(self->core.width, self->core.height);
|
||||
|
||||
// Set the group after initialization otherwise we may send pixels while we delay in
|
||||
// initialization.
|
||||
common_hal_framebufferio_framebufferdisplay_show(self, &circuitpython_splash);
|
||||
|
|
Loading…
Reference in New Issue