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 18, 2021
1 parent 5cd13df commit 55822a4
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/doxygen/html/IRtext_8cpp.html
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@
<tr class="memdesc:a149780a7bbdd13757ee4336c281ccd9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">"Dry" <a href="IRtext_8cpp.html#a149780a7bbdd13757ee4336c281ccd9d">More...</a><br /></td></tr>
<tr class="separator:a149780a7bbdd13757ee4336c281ccd9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adada7550fa28466a6db6f4544f8c7063"><td class="memItemLeft" align="right" valign="top">const PROGMEM char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="IRtext_8cpp.html#adada7550fa28466a6db6f4544f8c7063">kFanOnlyStr</a> = D_STR_FANONLY</td></tr>
<tr class="memdesc:adada7550fa28466a6db6f4544f8c7063"><td class="mdescLeft">&#160;</td><td class="mdescRight">"fan_only" <a href="IRtext_8cpp.html#adada7550fa28466a6db6f4544f8c7063">More...</a><br /></td></tr>
<tr class="memdesc:adada7550fa28466a6db6f4544f8c7063"><td class="mdescLeft">&#160;</td><td class="mdescRight">"Fan Only" <a href="IRtext_8cpp.html#adada7550fa28466a6db6f4544f8c7063">More...</a><br /></td></tr>
<tr class="separator:adada7550fa28466a6db6f4544f8c7063"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5159481cec97d0fdfbfac15e43a8c20a"><td class="memItemLeft" align="right" valign="top">const PROGMEM char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="IRtext_8cpp.html#a5159481cec97d0fdfbfac15e43a8c20a">kRecycleStr</a> = D_STR_RECYCLE</td></tr>
<tr class="memdesc:a5159481cec97d0fdfbfac15e43a8c20a"><td class="mdescLeft">&#160;</td><td class="mdescRight">"Recycle" <a href="IRtext_8cpp.html#a5159481cec97d0fdfbfac15e43a8c20a">More...</a><br /></td></tr>
Expand Down Expand Up @@ -1158,7 +1158,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#adada7550fa28466a6db6f454
</table>
</div><div class="memdoc">

<p>"fan_only" </p>
<p>"Fan Only" </p>

</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/doxygen/html/IRtext_8h.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
<tr class="memdesc:a3dc9321c4146369e0e0794e6a4de1988"><td class="mdescLeft">&#160;</td><td class="mdescRight">"False" <a href="IRtext_8h.html#a3dc9321c4146369e0e0794e6a4de1988">More...</a><br /></td></tr>
<tr class="separator:a3dc9321c4146369e0e0794e6a4de1988"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a220378c7b69db06362af5ad932965628"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="IRtext_8h.html#a220378c7b69db06362af5ad932965628">kFanOnlyStr</a></td></tr>
<tr class="memdesc:a220378c7b69db06362af5ad932965628"><td class="mdescLeft">&#160;</td><td class="mdescRight">"fan_only" <a href="IRtext_8h.html#a220378c7b69db06362af5ad932965628">More...</a><br /></td></tr>
<tr class="memdesc:a220378c7b69db06362af5ad932965628"><td class="mdescLeft">&#160;</td><td class="mdescRight">"Fan Only" <a href="IRtext_8h.html#a220378c7b69db06362af5ad932965628">More...</a><br /></td></tr>
<tr class="separator:a220378c7b69db06362af5ad932965628"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7a0d76c40f3173a3e1367665d789300"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="IRtext_8h.html#af7a0d76c40f3173a3e1367665d789300">kFanStr</a></td></tr>
<tr class="memdesc:af7a0d76c40f3173a3e1367665d789300"><td class="mdescLeft">&#160;</td><td class="mdescRight">"Fan" <a href="IRtext_8h.html#af7a0d76c40f3173a3e1367665d789300">More...</a><br /></td></tr>
Expand Down Expand Up @@ -1158,7 +1158,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a220378c7b69db06362af5ad9
</table>
</div><div class="memdoc">

<p>"fan_only" </p>
<p>"Fan Only" </p>

</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/html/IRtext_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
<div class="ttc" id="aIRtext_8h_html_ae1395c08682a2b858261d76b97311f4f"><div class="ttname"><a href="IRtext_8h.html#ae1395c08682a2b858261d76b97311f4f">kEyeAutoStr</a></div><div class="ttdeci">const char * kEyeAutoStr</div><div class="ttdoc">&quot;Eye Auto&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:143</div></div>
<div class="ttc" id="aIRtext_8h_html_a20037561545d4ba4cfe66c1e103ecde1"><div class="ttname"><a href="IRtext_8h.html#a20037561545d4ba4cfe66c1e103ecde1">kComfortStr</a></div><div class="ttdeci">const char * kComfortStr</div><div class="ttdoc">&quot;Comfort&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:79</div></div>
<div class="ttc" id="aIRtext_8h_html_ad7706307f507466526b4288e33385bde"><div class="ttname"><a href="IRtext_8h.html#ad7706307f507466526b4288e33385bde">kHighestStr</a></div><div class="ttdeci">const char * kHighestStr</div><div class="ttdoc">&quot;Highest&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:122</div></div>
<div class="ttc" id="aIRtext_8h_html_a220378c7b69db06362af5ad932965628"><div class="ttname"><a href="IRtext_8h.html#a220378c7b69db06362af5ad932965628">kFanOnlyStr</a></div><div class="ttdeci">const char * kFanOnlyStr</div><div class="ttdoc">&quot;fan_only&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:112</div></div>
<div class="ttc" id="aIRtext_8h_html_a220378c7b69db06362af5ad932965628"><div class="ttname"><a href="IRtext_8h.html#a220378c7b69db06362af5ad932965628">kFanOnlyStr</a></div><div class="ttdeci">const char * kFanOnlyStr</div><div class="ttdoc">&quot;Fan Only&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:112</div></div>
<div class="ttc" id="aIRtext_8h_html_a4940a3f71a484f936d3e58b9573931a8"><div class="ttname"><a href="IRtext_8h.html#a4940a3f71a484f936d3e58b9573931a8">kMinStr</a></div><div class="ttdeci">const char * kMinStr</div><div class="ttdoc">&quot;Min&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:117</div></div>
<div class="ttc" id="aIRtext_8h_html_a47a659e1c6373c4af92f4261148f695b"><div class="ttname"><a href="IRtext_8h.html#a47a659e1c6373c4af92f4261148f695b">kFollowStr</a></div><div class="ttdeci">const char * kFollowStr</div><div class="ttdoc">&quot;Follow&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:55</div></div>
<div class="ttc" id="aIRtext_8h_html_ab59fa6f63401196c0ff32aba6da9d9aa"><div class="ttname"><a href="IRtext_8h.html#ab59fa6f63401196c0ff32aba6da9d9aa">kWeeklyTimerStr</a></div><div class="ttdeci">const char * kWeeklyTimerStr</div><div class="ttdoc">&quot;WeeklyTimer&quot;</div><div class="ttdef"><b>Definition:</b> IRtext.cpp:81</div></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/html/defaults_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;<span class="preprocessor">#define D_STR_FAN &quot;Fan&quot;</span></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;<span class="preprocessor">#endif // D_STR_FAN</span></div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;<span class="preprocessor">#ifndef D_STR_FANONLY</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="preprocessor">#define D_STR_FANONLY &quot;fan_only&quot;</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="preprocessor">#define D_STR_FANONLY &quot;Fan Only&quot;</span></div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<span class="preprocessor">#endif // D_STR_FANONLY</span></div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;<span class="preprocessor">#ifndef D_STR_DRY</span></div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;<span class="preprocessor">#define D_STR_DRY &quot;Dry&quot;</span></div>
Expand Down
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 55822a4

Please sign in to comment.