File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -230,8 +230,8 @@ enum argo_ac_remote_model_t {
230
230
231
231
// / Toshiba A/C model numbers
232
232
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
235
235
// many remote models such as WA-TH03A, WA-TH04A etc.
236
236
};
237
237
Original file line number Diff line number Diff line change @@ -708,7 +708,7 @@ namespace irutils {
708
708
case toshiba_ac_remote_model_t ::kToshibaGenericRemote_B :
709
709
return kToshibaGenericRemoteBStr ;
710
710
default :
711
- return kUnknownStr ;
711
+ return kUnknownStr ;
712
712
}
713
713
default : return kUnknownStr ;
714
714
}
Original file line number Diff line number Diff line change @@ -499,16 +499,18 @@ String IRToshibaAC::toString(void) const {
499
499
// / Get the model information currently known.
500
500
// / @return The known model number.
501
501
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 ;
505
507
}
506
508
}
507
509
508
510
// / Set the current model for the remote.
509
511
// / @param[in] model The model number.
510
512
void IRToshibaAC::setModel (const toshiba_ac_remote_model_t model) {
511
- switch (model) {
513
+ switch (model) {
512
514
case toshiba_ac_remote_model_t ::kToshibaGenericRemote_B :
513
515
_.Model = kToshibaAcRemoteB ;
514
516
break ;
Original file line number Diff line number Diff line change @@ -1122,10 +1122,10 @@ D_STR_INDIRECT " " D_STR_MODE
1122
1122
#endif // D_STR_ZEPEAL
1123
1123
#ifndef D_STR_TOSHIBAGENERICREMOTEA
1124
1124
#define D_STR_TOSHIBAGENERICREMOTEA "TOSHIBA REMOTE A"
1125
- #endif // D_STR_TOSHIBAGENERICREMOTEA
1125
+ #endif // D_STR_TOSHIBAGENERICREMOTEA
1126
1126
#ifndef D_STR_TOSHIBAGENERICREMOTEB
1127
1127
#define D_STR_TOSHIBAGENERICREMOTEB "TOSHIBA REMOTE B"
1128
- #endif // D_STR_TOSHIBAGENERICREMOTEB
1128
+ #endif // D_STR_TOSHIBAGENERICREMOTEB
1129
1129
1130
1130
// IRrecvDumpV2+
1131
1131
#ifndef D_STR_TIMESTAMP
You can’t perform that action at this time.
0 commit comments