Skip to content

Commit

Permalink
Update WeatherSensor.h
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jul 10, 2023
1 parent 906001e commit 0483978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WeatherSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ class WeatherSensor {
memset(buf, ' ', prefix_len);
buf[prefix_len] ='\0';
offs = (len1 > len2) ? (len1 - len2) : 0;
sprintf(&buf[offs], "%s:", descr);
sprintf(&buf[offs], "%s: ", descr);

for (size_t i = 0 ; i < msgSize; i++) {
sprintf(&buf[strlen(buf)], "%02X ", msg[i]);
Expand Down

0 comments on commit 0483978

Please sign in to comment.