removed commented out stuff and clean up

This commit is contained in:
dwightmulcahy 2024-03-15 17:47:55 -05:00
parent e002eb47a5
commit 1e2e7c838a
7 changed files with 6 additions and 12 deletions

View File

@ -32,7 +32,6 @@ TFT_eSprite background = TFT_eSprite(&tft);
void amoledDisplay_Init(void) void amoledDisplay_Init(void)
{ {
rm67162_init(); rm67162_init();
// lcd_setRotation(1);
lcd_setRotation(LANDSCAPE); lcd_setRotation(LANDSCAPE);
background.createSprite(WIDTH, HEIGHT); background.createSprite(WIDTH, HEIGHT);

View File

@ -86,7 +86,6 @@ void dongleDisplay_Init(void)
#endif // USE_LED #endif // USE_LED
tft.init(); tft.init();
// tft.setRotation(ROTATION_270);
tft.setRotation(LANDSCAPE_INVERTED); tft.setRotation(LANDSCAPE_INVERTED);
tft.setSwapBytes(true); tft.setSwapBytes(true);
background.createSprite(BUFFER_WIDTH, BUFFER_HEIGHT); background.createSprite(BUFFER_WIDTH, BUFFER_HEIGHT);

View File

@ -32,7 +32,6 @@ bool hasChangedScreen = true;
void esp32_2432S028R_Init(void) void esp32_2432S028R_Init(void)
{ {
tft.init(); tft.init();
// tft.setRotation(1);
tft.setRotation(ROTATION_90); tft.setRotation(ROTATION_90);
#ifdef ESP32_2432S028_2USB #ifdef ESP32_2432S028_2USB
/* /*

View File

@ -22,7 +22,6 @@ int screen_state = 1;
void m5stickCDriver_Init(void) void m5stickCDriver_Init(void)
{ {
M5.begin(); M5.begin();
// M5.Lcd.setRotation(1);
M5.Lcd.setRotation(LANDSCAPE); M5.Lcd.setRotation(LANDSCAPE);
M5.Lcd.setTextSize(1); M5.Lcd.setTextSize(1);
M5.Lcd.fillScreen(BLACK); M5.Lcd.fillScreen(BLACK);

View File

@ -22,7 +22,6 @@ void tDisplay_Init(void)
{ {
tft.init(); tft.init();
#ifdef LILYGO_S3_T_EMBED #ifdef LILYGO_S3_T_EMBED
// tft.setRotation(3);
tft.setRotation(ROTATION_270); tft.setRotation(ROTATION_270);
#else #else
tft.setRotation(ROTATION_90); tft.setRotation(ROTATION_90);

View File

@ -21,7 +21,6 @@ TFT_eSprite background = TFT_eSprite(&tft); // Invoke library sprite
void tDisplay_Init(void) void tDisplay_Init(void)
{ {
tft.init(); tft.init();
// tft.setRotation(1);
tft.setRotation(ROTATION_90); tft.setRotation(ROTATION_90);
tft.setSwapBytes(true); // Swap the colour byte order when rendering tft.setSwapBytes(true); // Swap the colour byte order when rendering
background.createSprite(WIDTH, HEIGHT); // Background Sprite background.createSprite(WIDTH, HEIGHT); // Background Sprite