From ef460841c316616819343226759bc24cff2f079e Mon Sep 17 00:00:00 2001 From: Florian Date: Mon, 23 Sep 2024 15:12:40 +0200 Subject: [PATCH] Fix --- components/tc_bus/protocol.cpp | 2 +- components/tc_bus/protocol.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tc_bus/protocol.cpp b/components/tc_bus/protocol.cpp index 2529955a..540163df 100644 --- a/components/tc_bus/protocol.cpp +++ b/components/tc_bus/protocol.cpp @@ -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; diff --git a/components/tc_bus/protocol.h b/components/tc_bus/protocol.h index 183a6ab0..4cebcb24 100644 --- a/components/tc_bus/protocol.h +++ b/components/tc_bus/protocol.h @@ -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);