Skip to content

Commit

Permalink
reduce readings
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Sep 23, 2024
1 parent cab789c commit 132f160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tc_bus/tc_bus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ namespace esphome
// Next 4 Data Blocks
reading_memory_count_++;

if(reading_memory_count_ == 12)
if(reading_memory_count_ == 6)
{
// Turn off
reading_memory_ = false;
Expand All @@ -199,7 +199,7 @@ namespace esphome
ESP_LOGD(TAG, "Door Call Ringtone %i", settings_.door_call_ringtone);
ESP_LOGD(TAG, "Floor Call Ringtone %i", settings_.floor_call_ringtone);
ESP_LOGD(TAG, "Internal Call Ringtone %i", settings_.internal_call_ringtone);

this->read_memory_complete_callback_.call(memory_buffer_);
}
else
Expand Down

0 comments on commit 132f160

Please sign in to comment.