Skip to content

Commit

Permalink
Rename date to command
Browse files Browse the repository at this point in the history
  • Loading branch information
wrfz committed Sep 12, 2024
1 parent 1d520b5 commit d572305
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 71 deletions.
6 changes: 3 additions & 3 deletions components/daikin_rotex_can/Accessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Accessor {
struct TEntityArguments {
EntityBase* pEntity;
std::string id;
TMessage data;
TMessage command;
uint8_t data_offset;
uint8_t data_size;
float divider;
Expand All @@ -26,7 +26,7 @@ class Accessor {
TEntityArguments(
EntityBase* _pEntity,
std::string const& _id,
std::string const& _data,
std::string const& _command,
uint8_t _data_offset,
uint8_t _data_size,
float _divider,
Expand All @@ -36,7 +36,7 @@ class Accessor {
)
: pEntity(_pEntity)
, id(_id)
, data(Utils::str_to_bytes_array8(_data))
, command(Utils::str_to_bytes_array8(_command))
, data_offset(_data_offset)
, data_size(_data_size)
, divider(_divider)
Expand Down
Loading

0 comments on commit d572305

Please sign in to comment.