Skip to content

Commit

Permalink
fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Oct 10, 2024
1 parent 830832f commit d865337
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 @@ -651,7 +651,7 @@ namespace esphome
if(memory_buffer_.size() == 0)
{
ESP_LOGW(TAG, "Memory Buffer is empty! Please read memory first!");
return;
return false;
}

if(serial_number == 0)
Expand All @@ -668,7 +668,7 @@ namespace esphome
if(serial_number == 0)
{
ESP_LOGW(TAG, "Serial Number is not set!");
return;
return false;
}

uint8_t saved_nibble = 0;
Expand Down

0 comments on commit d865337

Please sign in to comment.