Skip to content

Commit

Permalink
Fujitsu: Fix toString()s display of half degrees.
Browse files Browse the repository at this point in the history
For #1455
  • Loading branch information
crankyoldgit committed Apr 7, 2021
1 parent 39a3ace commit 4fce7ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ir_Fujitsu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ using irutils::addLabeledString;
using irutils::addModeToString;
using irutils::addModelToString;
using irutils::addFanToString;
using irutils::addTempToString;
using irutils::addTempFloatToString;
using irutils::minsToString;

#if SEND_FUJITSU_AC
Expand Down Expand Up @@ -779,7 +779,7 @@ String IRFujitsuAC::toString(void) const {
result += addModeToString(_.Mode, kFujitsuAcModeAuto, kFujitsuAcModeCool,
kFujitsuAcModeHeat, kFujitsuAcModeDry,
kFujitsuAcModeFan);
result += addTempToString(getTemp(), getCelsius());
result += addTempFloatToString(getTemp(), getCelsius());
result += addFanToString(_.Fan, kFujitsuAcFanHigh, kFujitsuAcFanLow,
kFujitsuAcFanAuto, kFujitsuAcFanQuiet,
kFujitsuAcFanMed);
Expand Down
2 changes: 1 addition & 1 deletion src/ir_Fujitsu.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ union FujitsuProtocol {
uint64_t :1;
uint64_t OutsideQuiet :1;
// Byte 15
uint64_t :0;
uint64_t :0; // Checksum
};
};

Expand Down

0 comments on commit 4fce7ee

Please sign in to comment.