Fix nightlies (#7765)
This commit is contained in:
@@ -153,6 +153,9 @@ static void delay3(uint32_t nCount)
|
||||
|
||||
static void lcd_reset(void)
|
||||
{
|
||||
#if defined(RADIO_T18) // T18 screen has issues if NRST is ever brought low
|
||||
NRST_HIGH();
|
||||
#else
|
||||
NRST_HIGH();
|
||||
delay3(1);
|
||||
|
||||
@@ -161,6 +164,7 @@ static void lcd_reset(void)
|
||||
|
||||
NRST_HIGH();
|
||||
delay3(30);
|
||||
#endif
|
||||
}
|
||||
|
||||
void LCD_Init_LTDC(void)
|
||||
@@ -326,11 +330,7 @@ void LCD_Init(void)
|
||||
{
|
||||
/* Reset the LCD --------------------------------------------------------*/
|
||||
LCD_NRSTConfig();
|
||||
#if defined(RADIO_T18) // T18 seems to have eractic display issue if NRST is ever driven low
|
||||
NRST_HIGH();
|
||||
#else
|
||||
lcd_reset();
|
||||
#endif
|
||||
|
||||
/* Configure the LCD Control pins */
|
||||
LCD_AF_GPIOConfig();
|
||||
|
||||
Reference in New Issue
Block a user