Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Sep 23, 2024
1 parent ddd21e6 commit 782ff67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tc_bus/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ namespace esphome
case 1:
data.type = COMMAND_TYPE_SELECT_EEPROM_PAGE;

uint32_t thirdNibble = (value >> 24) & 0xF; // Nibble isolieren
uint32_t thirdNibble = (command >> 24) & 0xF; // Nibble isolieren
data.address = static_cast<uint8_t>(thirdNibble);

data.serial_number = command & 0xFFFFF;
Expand Down

0 comments on commit 782ff67

Please sign in to comment.