From ec5c41561bbd9ae117c55a853ace26feb270cc95 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Thu, 2 May 2024 21:32:22 +0700 Subject: [PATCH] add 3rd ac variant --- src/config.hpp | 4 ++-- src/constants.hpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config.hpp b/src/config.hpp index fce843e..9e63a89 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_CEILING +#define AC_TYPE AC_TYPE_DUCTED_VARIANT_2 /*********************************************** * Pin Definitions * @@ -31,7 +31,7 @@ // @note The infrared codes are defined in ir_codes.hpp and ir_codes.cpp -// Air Conditioner Type for First and Second Year Classrooms +// Air Conditioner Type for First and Second3 Year Classrooms #if AC_TYPE == AC_TYPE_DUCTED #define AC_MIN_TEMP 15 #define AC_MAX_TEMP 30 diff --git a/src/constants.hpp b/src/constants.hpp index 190d86e..2e11233 100644 --- a/src/constants.hpp +++ b/src/constants.hpp @@ -1,4 +1,5 @@ #pragma once #define AC_TYPE_DUCTED 0 -#define AC_TYPE_CEILING 1 \ No newline at end of file +#define AC_TYPE_CEILING 1 +#define AC_TYPE_DUCTED_VARIANT_2 1 \ No newline at end of file