Skip to content

Commit 0b6e552

Browse files
authored
Merge pull request #11 from MartinEbnerSensirion/main
changed i2c rx buffer from 30 to 48 bytes
2 parents 2db8158 + 8e208dd commit 0b6e552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SensirionI2CCommunication.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ uint16_t SensirionI2CCommunication::receiveFrame(uint8_t address,
8383
const uint8_t sizeBuffer =
8484
(static_cast<uint8_t>(BUFFER_LENGTH) / static_cast<uint8_t>(3)) * 3;
8585
#else
86-
const uint8_t sizeBuffer = 30;
86+
const uint8_t sizeBuffer = 48;
8787
#endif
8888

8989
if (numBytes % 3) {

0 commit comments

Comments
 (0)