mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-12 17:38:13 +00:00
fixup! feat(core): display driver for T3W1
This commit is contained in:
parent
7253d42c9f
commit
9d02fa6dff
@ -17,10 +17,6 @@ bool display_gfxmmu_init(display_driver_t *drv) {
|
|||||||
/* GFXMMU clock enable */
|
/* GFXMMU clock enable */
|
||||||
__HAL_RCC_GFXMMU_CLK_ENABLE();
|
__HAL_RCC_GFXMMU_CLK_ENABLE();
|
||||||
|
|
||||||
/* Enable GFXMMU interrupt */
|
|
||||||
NVIC_SetPriority(GFXMMU_IRQn, IRQ_PRI_NORMAL);
|
|
||||||
NVIC_EnableIRQ(GFXMMU_IRQn);
|
|
||||||
|
|
||||||
/* GFXMMU peripheral initialization */
|
/* GFXMMU peripheral initialization */
|
||||||
drv->hlcd_gfxmmu.Instance = GFXMMU;
|
drv->hlcd_gfxmmu.Instance = GFXMMU;
|
||||||
drv->hlcd_gfxmmu.Init.BlocksPerLine = GFXMMU_192BLOCKS;
|
drv->hlcd_gfxmmu.Init.BlocksPerLine = GFXMMU_192BLOCKS;
|
||||||
|
Loading…
Reference in New Issue
Block a user