Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Sep 23, 2024
1 parent 578802d commit ef46084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/tc_bus/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace esphome
{
namespace tc_bus
{
uint32_t buildCommand(CommandType type, uint8_t address, uint32_t payload = 0, uint32_t serial_number = 0)
uint32_t buildCommand(CommandType type, uint8_t address = 0, uint32_t payload = 0, uint32_t serial_number = 0)
{
uint32_t command = 0;

Expand Down
2 changes: 1 addition & 1 deletion components/tc_bus/protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace esphome
uint8_t length;
};

uint32_t buildCommand(CommandType type, uint8_t address, uint32_t payload = 0, uint32_t serial_number = 0);
uint32_t buildCommand(CommandType type, uint8_t address = 0, uint32_t payload = 0, uint32_t serial_number = 0);
CommandData parseCommand(uint32_t command);

const char* command_type_to_string(CommandType type);
Expand Down

0 comments on commit ef46084

Please sign in to comment.