Skip to content

Commit

Permalink
Fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Sep 30, 2024
1 parent 44a2084 commit 83b889b
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 @@ -341,7 +341,7 @@ namespace esphome
return data;
}

const CommandType string_to_command_type(std::string str)
CommandType string_to_command_type(std::string str)
{
if (str == "DOOR_CALL") return COMMAND_TYPE_DOOR_CALL;
if (str == "FLOOR_CALL") return COMMAND_TYPE_FLOOR_CALL;
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 @@ -49,7 +49,7 @@ namespace esphome
CommandData parseCommand(uint32_t command);

const char* command_type_to_string(CommandType type);
const CommandType string_to_command_type(std::string str);
CommandType string_to_command_type(std::string str);

} // namespace tc_bus
} // namespace esphome

0 comments on commit 83b889b

Please sign in to comment.