From 3c8c2e6523cd48d02c232f265cc72ae928fddad4 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Thu, 5 Mar 2020 21:48:44 +0100 Subject: [PATCH] Port changes --- platformio.ini | 8 ++++---- src/hasp_tft.cpp | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/platformio.ini b/platformio.ini index 6c94ff7d..73356514 100644 --- a/platformio.ini +++ b/platformio.ini @@ -130,8 +130,8 @@ src_filter = +<*> +<../drivers/stm32f429_disco> [env:d1mini32-lolintft24] platform = espressif32 board = wemos_d1_mini32 -upload_port = COM8 ; Change to the correct port -monitor_port = COM8 ; Change to the correct port +upload_port = COM6 ; Change to the correct port +monitor_port = COM6 ; Change to the correct port monitor_speed = 115200 board_build.partitions = default.csv build_flags = @@ -162,8 +162,8 @@ build_flags = [env:lolind32pro-lolintft24] platform = espressif32 board = lolin_d32_pro -upload_port = COM7 ; Change to the correct port -monitor_port = COM7 ; Change to the correct port +upload_port = COM8 ; Change to the correct port +monitor_port = COM8 ; Change to the correct port monitor_speed = 115200 board_build.partitions = default.csv build_flags = diff --git a/src/hasp_tft.cpp b/src/hasp_tft.cpp index f3640249..28e9ccd6 100644 --- a/src/hasp_tft.cpp +++ b/src/hasp_tft.cpp @@ -90,12 +90,12 @@ void tftShowConfig(TFT_eSPI & tft) tftOffsetInfo(2, tftSetup.r2_x_offset, tftSetup.r2_y_offset); tftOffsetInfo(3, tftSetup.r3_x_offset, tftSetup.r3_y_offset); /* replaced by tftOffsetInfo - if(tftSetup.r1_x_offset != 0) Serial.printf("R1 x offset = %i \n", tftSetup.r1_x_offset); - if(tftSetup.r1_y_offset != 0) Serial.printf("R1 y offset = %i \n", tftSetup.r1_y_offset); - if(tftSetup.r2_x_offset != 0) Serial.printf("R2 x offset = %i \n", tftSetup.r2_x_offset); - if(tftSetup.r2_y_offset != 0) Serial.printf("R2 y offset = %i \n", tftSetup.r2_y_offset); - if(tftSetup.r3_x_offset != 0) Serial.printf("R3 x offset = %i \n", tftSetup.r3_x_offset); - if(tftSetup.r3_y_offset != 0) Serial.printf("R3 y offset = %i \n", tftSetup.r3_y_offset); + // if(tftSetup.r1_x_offset != 0) Serial.printf("R1 x offset = %i \n", tftSetup.r1_x_offset); + // if(tftSetup.r1_y_offset != 0) Serial.printf("R1 y offset = %i \n", tftSetup.r1_y_offset); + // if(tftSetup.r2_x_offset != 0) Serial.printf("R2 x offset = %i \n", tftSetup.r2_x_offset); + // if(tftSetup.r2_y_offset != 0) Serial.printf("R2 y offset = %i \n", tftSetup.r2_y_offset); + // if(tftSetup.r3_x_offset != 0) Serial.printf("R3 x offset = %i \n", tftSetup.r3_x_offset); + // if(tftSetup.r3_y_offset != 0) Serial.printf("R3 y offset = %i \n", tftSetup.r3_y_offset); */ tftPinInfo(F("MOSI "), tftSetup.pin_tft_mosi);