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 5694229 commit d1cf44b
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 @@ -407,7 +407,7 @@ class WeatherSensor {

memset(buf, ' ', prefix_len);
buf[prefix_len] = '\0';
offs = (len1 < len2) ? (len2 - len 1) : 0;
offs = (len1 < len2) ? (len2 - len1) : 0;
strcpy(&buf[offs], txt);

// Print byte index
Expand Down

0 comments on commit d1cf44b

Please sign in to comment.