Fix nightlies (#7765)

This commit is contained in:
3djc
2020-06-24 12:35:28 +02:00
committed by GitHub
parent 77f4c18f4c
commit 0ff6c0e5ae
4 changed files with 8 additions and 12 deletions
+4 -4
View File
@@ -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();