diff --git a/Esp32_radio/bluetft.h b/Esp32_radio/bluetft.h index 48a35ce..5585173 100644 --- a/Esp32_radio/bluetft.h +++ b/Esp32_radio/bluetft.h @@ -50,7 +50,8 @@ Adafruit_ST7735* tft = NULL ; // For instan bool dsp_begin() { tft = new Adafruit_ST7735 ( ini_block.tft_cs_pin, - ini_block.tft_dc_pin ) ; // Create an instant for TFT + ini_block.tft_dc_pin, + -1 ) ; // Create an instant for TFT, reset pin not connected // Uncomment one of the following initR lines for ST7735R displays //tft->initR ( INITR_GREENTAB ) ; // Init TFT interface //tft->initR ( INITR_REDTAB ) ; // Init TFT interface @@ -61,4 +62,4 @@ bool dsp_begin() // Uncomment the next line for ST7735B displays //tft_initB() ; return ( tft != NULL ) ; -} +}