mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 07:31:36 +08:00
SSD1289 fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4776 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -184,7 +184,7 @@ static const uint32_t g_lcdconfig[] =
|
|||||||
{
|
{
|
||||||
/* PC6(RESET), FSMC_A16, FSMC_NOE, FSMC_NWE, and FSMC_NE1 */
|
/* PC6(RESET), FSMC_A16, FSMC_NOE, FSMC_NWE, and FSMC_NE1 */
|
||||||
|
|
||||||
GPIO_LCD_RESET, GPIO_FSMC_A16, GPIO_FSMC_NOE, GPIO_FSMC_NWE, GPIO_FSMC_NE3
|
GPIO_LCD_RESET, GPIO_FSMC_A16, GPIO_FSMC_NOE, GPIO_FSMC_NWE, GPIO_FSMC_NE1
|
||||||
};
|
};
|
||||||
#define NLCD_CONFIG (sizeof(g_lcdconfig)/sizeof(uint32_t))
|
#define NLCD_CONFIG (sizeof(g_lcdconfig)/sizeof(uint32_t))
|
||||||
|
|
||||||
|
|||||||
@@ -890,7 +890,7 @@ static inline void ssd1289_hwinitialize(FAR struct ssd1289_dev_s *priv)
|
|||||||
|
|
||||||
ssd1289_putreg(lcd, SSD1289_DSPCTRL,
|
ssd1289_putreg(lcd, SSD1289_DSPCTRL,
|
||||||
(SSD1289_DSPCTRL_ON | SSD1289_DSPCTRL_DTE |
|
(SSD1289_DSPCTRL_ON | SSD1289_DSPCTRL_DTE |
|
||||||
SSD1289_DSPCTRL_GON | define SSD1289_DSPCTRL_VLE(0)));
|
SSD1289_DSPCTRL_GON | SSD1289_DSPCTRL_VLE(0)));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Set up power control registers. There is a lot of variability
|
/* Set up power control registers. There is a lot of variability
|
||||||
|
|||||||
Reference in New Issue
Block a user