Skip to content

Commit a1513a3

Browse files
committed
Fix linting issues
1 parent 3c7ef26 commit a1513a3

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

src/IRsend.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ enum argo_ac_remote_model_t {
230230

231231
/// Toshiba A/C model numbers
232232
enum toshiba_ac_remote_model_t {
233-
kToshibaGenericRemote_A = 0, // Default from existing codebase
234-
kToshibaGenericRemote_B = 1, // Newly discovered remote control b, applies to
233+
kToshibaGenericRemote_A = 0, // Default from existing codebase
234+
kToshibaGenericRemote_B = 1, // Newly discovered remote control b, applies to
235235
// many remote models such as WA-TH03A, WA-TH04A etc.
236236
};
237237

src/IRutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ namespace irutils {
708708
case toshiba_ac_remote_model_t::kToshibaGenericRemote_B:
709709
return kToshibaGenericRemoteBStr;
710710
default:
711-
return kUnknownStr;
711+
return kUnknownStr;
712712
}
713713
default: return kUnknownStr;
714714
}

src/ir_Toshiba.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -499,16 +499,18 @@ String IRToshibaAC::toString(void) const {
499499
/// Get the model information currently known.
500500
/// @return The known model number.
501501
toshiba_ac_remote_model_t IRToshibaAC::getModel(void) const {
502-
switch(_.Model) {
503-
case kToshibaAcRemoteB: return toshiba_ac_remote_model_t::kToshibaGenericRemote_B;
504-
default: return toshiba_ac_remote_model_t::kToshibaGenericRemote_A;
502+
switch (_.Model) {
503+
case kToshibaAcRemoteB:
504+
return toshiba_ac_remote_model_t::kToshibaGenericRemote_B;
505+
default:
506+
return toshiba_ac_remote_model_t::kToshibaGenericRemote_A;
505507
}
506508
}
507509

508510
/// Set the current model for the remote.
509511
/// @param[in] model The model number.
510512
void IRToshibaAC::setModel(const toshiba_ac_remote_model_t model) {
511-
switch(model) {
513+
switch (model) {
512514
case toshiba_ac_remote_model_t::kToshibaGenericRemote_B:
513515
_.Model = kToshibaAcRemoteB;
514516
break;

src/locale/defaults.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,10 +1122,10 @@ D_STR_INDIRECT " " D_STR_MODE
11221122
#endif // D_STR_ZEPEAL
11231123
#ifndef D_STR_TOSHIBAGENERICREMOTEA
11241124
#define D_STR_TOSHIBAGENERICREMOTEA "TOSHIBA REMOTE A"
1125-
#endif // D_STR_TOSHIBAGENERICREMOTEA
1125+
#endif // D_STR_TOSHIBAGENERICREMOTEA
11261126
#ifndef D_STR_TOSHIBAGENERICREMOTEB
11271127
#define D_STR_TOSHIBAGENERICREMOTEB "TOSHIBA REMOTE B"
1128-
#endif // D_STR_TOSHIBAGENERICREMOTEB
1128+
#endif // D_STR_TOSHIBAGENERICREMOTEB
11291129

11301130
// IRrecvDumpV2+
11311131
#ifndef D_STR_TIMESTAMP

0 commit comments

Comments
 (0)