From 615c3f5f9e5c19103887b7940825fe8573c9909f Mon Sep 17 00:00:00 2001
From: Siwat Sirichai <siwat@siwatinc.com>
Date: Mon, 20 May 2024 22:07:43 +0700
Subject: [PATCH] upgrade SDK to v2.8.0

---
 .vscode/settings.json | 3 ++-
 platformio.ini        | 4 ++--
 src/config.hpp        | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.vscode/settings.json b/.vscode/settings.json
index eb9ff09..8f4a78f 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -59,5 +59,6 @@
   "C_Cpp_Runner.useLeakSanitizer": false,
   "C_Cpp_Runner.showCompilationTime": false,
   "C_Cpp_Runner.useLinkTimeOptimization": false,
-  "C_Cpp_Runner.msvcSecureNoWarnings": false
+  "C_Cpp_Runner.msvcSecureNoWarnings": false,
+  "idf.portWin": "COM34"
 }
\ No newline at end of file
diff --git a/platformio.ini b/platformio.ini
index 73882b5..edf72aa 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -12,6 +12,6 @@
 platform = espressif32
 board = wt32-eth01
 framework = arduino
-lib_deps = siwats/ESPMegaPROR3@^2.5.10
+lib_deps = siwats/ESPMegaPROR3@^2.8.0
 monitor_speed = 115200
-build_flags = -DCORE_DEBUG_LEVEL=0
\ No newline at end of file
+build_flags = -DCORE_DEBUG_LEVEL=0 -DSW_VERSION='"3.0.1"' -DBOARD_MODEL='"ESPMegaPRO R3.3c"'
\ No newline at end of file
diff --git a/src/config.hpp b/src/config.hpp
index 9e63a89..13a267a 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -5,7 +5,7 @@
  *                 Variants                    *
  ***********************************************/
 // @note You can use -D flag to define the variant and comment out the line below
-#define AC_TYPE AC_TYPE_DUCTED_VARIANT_2
+#define AC_TYPE AC_TYPE_CEILING
 
 /***********************************************
  *               Pin Definitions               *