Fixed T18 support

This commit is contained in:
Raphael Coeffic
2021-05-28 09:40:46 +02:00
parent 564dda3412
commit 199afb8efa
3 changed files with 7 additions and 6 deletions
-3
View File
@@ -535,9 +535,6 @@
#if defined(PCBX10) && !defined(RADIO_T18)
#define LCD_VERTICAL_INVERT
#endif
#if defined(PCBX10)
#define LCD_VERTICAL_INVERT
#endif
#define LTDC_IRQ_PRIO 4
#define DMA_SCREEN_IRQ_PRIO 6
+1 -1
View File
@@ -152,7 +152,7 @@ static void LCD_NRSTConfig(void)
static void lcdReset(void)
{
#if defined(RADIO_T18) // T18 screen has issues if NRST is ever brought low
NRST_HIGH();
LCD_NRST_HIGH();
#else
LCD_NRST_HIGH();
delay_ms(1);