1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00

sram_init -> display_sram_init

This commit is contained in:
Pavol Rusnak 2016-05-11 17:28:31 +02:00
parent a473ad2100
commit 1e1242437c
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -12,7 +12,7 @@
static void DATAS(const void *bytes, int len); static void DATAS(const void *bytes, int len);
void sram_init(void) { void display_sram_init(void) {
__GPIOE_CLK_ENABLE(); __GPIOE_CLK_ENABLE();
__FSMC_CLK_ENABLE(); __FSMC_CLK_ENABLE();
@ -121,7 +121,7 @@ static void display_orientation(uint16_t degrees)
} }
static void display_init(void) { static void display_init(void) {
sram_init(); display_sram_init();
CMD(0x01); // software reset CMD(0x01); // software reset
HAL_Delay(20); HAL_Delay(20);
CMD(0x28); // display off CMD(0x28); // display off