removed deviceCode readout of SSD1289
This commit is contained in:
parent
f9dd7d52f4
commit
bb6bad936a
@ -73,8 +73,6 @@
|
||||
* @notapi
|
||||
*/
|
||||
bool_t GDISP_LLD(init)(void) {
|
||||
uint16_t deviceCode;
|
||||
|
||||
#ifdef LCD_USE_FSMC
|
||||
/* FSMC setup. TODO: this only works for STM32F1 */
|
||||
rccEnableAHB(RCC_AHBENR_FSMCEN, 0);
|
||||
@ -94,8 +92,6 @@ bool_t GDISP_LLD(init)(void) {
|
||||
FSMC_Bank1->BTCR[FSMC_Bank] = FSMC_BCR1_MWID_0 | FSMC_BCR1_WREN | FSMC_BCR1_MBKEN;
|
||||
#endif
|
||||
|
||||
deviceCode = lld_lcdReadReg(0x0000);
|
||||
|
||||
lld_lcdWriteReg(0x0000,0x0001); lld_lcdDelay(5);
|
||||
lld_lcdWriteReg(0x0003,0xA8A4); lld_lcdDelay(5);
|
||||
lld_lcdWriteReg(0x000C,0x0000); lld_lcdDelay(5);
|
||||
|
Loading…
Reference in New Issue
Block a user