Skip to content

Commit

Permalink
fix: code cleanup and formatting
Browse files Browse the repository at this point in the history
fix: test build
  • Loading branch information
StellaLupus committed Aug 10, 2024
1 parent b198a53 commit 8adacd5
Show file tree
Hide file tree
Showing 5 changed files with 375 additions and 379 deletions.
6 changes: 3 additions & 3 deletions src/IRac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ bool IRac::isProtocolSupported(const decode_type_t protocol) {
#if SEND_ELECTRA_AC
case decode_type_t::ELECTRA_AC:
#endif
#if SEND_ELECTROLUX_AC
case decode_type_t::ELETROLUX_AC:
#endif // SEND_ELECTROLUX_AC
#if SEND_FUJITSU_AC
case decode_type_t::FUJITSU_AC:
#endif
Expand Down Expand Up @@ -375,9 +378,6 @@ bool IRac::isProtocolSupported(const decode_type_t protocol) {
#if SEND_WHIRLPOOL_AC
case decode_type_t::WHIRLPOOL_AC:
#endif
#if SEND_ELECTROLUX_AC
case decode_type_t::ELETROLUX_AC:
#endif // SEND_ELECTROLUX_AC
return true;
default:
return false;
Expand Down
2 changes: 1 addition & 1 deletion src/IRac.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "ir_Fujitsu.h"
#include "ir_Ecoclim.h"
#include "ir_Electra.h"
#include "ir_Electrolux.h"
#include "ir_Goodweather.h"
#include "ir_Gree.h"
#include "ir_Haier.h"
Expand Down Expand Up @@ -50,7 +51,6 @@
#include "ir_Voltas.h"
#include "ir_Whirlpool.h"
#include "ir_York.h"
#include "ir_Electrolux.h"

// Constants
const int8_t kGpioUnused = -1; ///< A placeholder for not using an actual GPIO.
Expand Down
Loading

0 comments on commit 8adacd5

Please sign in to comment.