Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0
`Unreleased`_
-------------

- Fix bug in SensirionShdlcTxFrame::begin that caused communication timeouts.

`0.7.2`_ 2025-11-04
-------------------

Expand Down
2 changes: 1 addition & 1 deletion src/SensirionShdlcTxFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
uint16_t SensirionShdlcTxFrame::begin(uint8_t command, uint8_t address,
uint8_t dataLength) {
_index = 0; // sets the index to point towards the start of the buffer.
_buffer[_index] = 0x7e;
_buffer[_index++] = 0x7e;
uint16_t error = addUInt8(address);
error |= addUInt8(command);
error |= addUInt8(dataLength);
Expand Down