Skip to content

Commit

Permalink
Cosmetic replace 'fan_only' string
Browse files Browse the repository at this point in the history
  • Loading branch information
PtilopsisLeucotis committed Sep 19, 2021
1 parent 5cd13df commit 6a035ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/IRtext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const PROGMEM char* kCoolStr = D_STR_COOL; ///< "Cool"
const PROGMEM char* kHeatStr = D_STR_HEAT; ///< "Heat"
const PROGMEM char* kFanStr = D_STR_FAN; ///< "Fan"
const PROGMEM char* kDryStr = D_STR_DRY; ///< "Dry"
const PROGMEM char* kFanOnlyStr = D_STR_FANONLY; ///< "fan_only"
const PROGMEM char* kFanOnlyStr = D_STR_FANONLY; ///< "Fan Only"
const PROGMEM char* kRecycleStr = D_STR_RECYCLE; ///< "Recycle"

const PROGMEM char* kMaxStr = D_STR_MAX; ///< "Max"
Expand Down
2 changes: 1 addition & 1 deletion src/locale/defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
#define D_STR_FAN "Fan"
#endif // D_STR_FAN
#ifndef D_STR_FANONLY
#define D_STR_FANONLY "fan_only"
#define D_STR_FANONLY "Fan Only"
#endif // D_STR_FANONLY
#ifndef D_STR_DRY
#define D_STR_DRY "Dry"
Expand Down
2 changes: 1 addition & 1 deletion test/IRac_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2268,7 +2268,7 @@ TEST(TestIRac, strToOpmode) {
EXPECT_EQ(stdAc::opmode_t::kHeat, IRac::strToOpmode("HEAT"));
EXPECT_EQ(stdAc::opmode_t::kDry, IRac::strToOpmode("DRY"));
EXPECT_EQ(stdAc::opmode_t::kFan, IRac::strToOpmode("FAN"));
EXPECT_EQ(stdAc::opmode_t::kFan, IRac::strToOpmode("FAN_ONLY"));
EXPECT_EQ(stdAc::opmode_t::kFan, IRac::strToOpmode("FAN ONLY"));
EXPECT_EQ(stdAc::opmode_t::kAuto, IRac::strToOpmode("FOOBAR"));
EXPECT_EQ(stdAc::opmode_t::kOff, IRac::strToOpmode("OFF"));
EXPECT_EQ(stdAc::opmode_t::kOff, IRac::strToOpmode("FOOBAR",
Expand Down

0 comments on commit 6a035ff

Please sign in to comment.