Skip to content

Commit

Permalink
Fixed signalling of invalid data
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed May 28, 2024
1 parent eeddd55 commit 6448416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PayloadOneWire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void PayloadOneWire::encodeOneWire(uint8_t *appPayloadCfg, LoraEncoder &encoder)
else
{
log_d("Error: Could not read temperature[%d] data", index);
encoder.writeTemperature(INV_TEMP);
encoder.writeUint16(INV_TEMP);
}


Expand Down

0 comments on commit 6448416

Please sign in to comment.