Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Sep 23, 2024
1 parent 638b821 commit 8a03731
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/tc_bus/tc_bus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ namespace esphome
{
if(reading_memory_)
{
ESP_LOGD(TAG, "Received 4 memory Blocks starting at: %i", (reading_memory_count_ * 4));
ESP_LOGD(TAG, "Received 4 memory Blocks %i to %i", (reading_memory_count_ * 4), (reading_memory_count_ * 4) + 4);

// Save Data to memory Store
memory_buffer_.push_back((s.s_cmd >> 24) & 0xFF);
Expand All @@ -178,7 +178,7 @@ namespace esphome
delay(50);

// Request Data Blocks
ESP_LOGD(TAG, "Read 4 memory addresses starting at %i", reading_memory_count_);
ESP_LOGD(TAG, "Read 4 memory addresses %i to %i", (reading_memory_count_ * 4), (reading_memory_count_ * 4) + 4);
send_command(COMMAND_TYPE_READ_MEMORY_BLOCK, reading_memory_count_);
}
}
Expand Down Expand Up @@ -584,7 +584,7 @@ namespace esphome

reading_memory_ = true;
reading_memory_count_ = 0;
ESP_LOGD(TAG, "Read 4 memory addresses starting at %i", reading_memory_count_);
ESP_LOGD(TAG, "Read 4 memory addresses %i to %i", (reading_memory_count_ * 4), (reading_memory_count_ * 4) + 4);
send_command(COMMAND_TYPE_READ_MEMORY_BLOCK, reading_memory_count_);
}

Expand Down

0 comments on commit 8a03731

Please sign in to comment.