Skip to content

Commit

Permalink
Changed string buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jan 29, 2024
1 parent a9eb70c commit 713a8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SensorTransmitter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ First two bytes are an LFSR-16 digest, generator 0x8810 key 0xabf9 with a final
uint8_t encodeBresserLightningPayload(uint8_t *msg)
{
uint8_t payload[10] = {0};
char buf[5];
char buf[6];

payload[2] = (ws.sensor[0].sensor_id >> 8) & 0xFF;
payload[3] = ws.sensor[0].sensor_id & 0xFF;
Expand Down

0 comments on commit 713a8ae

Please sign in to comment.