Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bertmelis authored Jan 13, 2025
1 parent 4f60a4e commit 7f9039b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datapoint/ConversionHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ std::size_t decodeSchedule(const uint8_t* data, std::size_t len, char* output, s
hour = 0;
minutes = 0;
}
int result = snprintf(&output[pos], maxLen - pos, "%ou.2:%u.2", hour, minutes);
int result = snprintf(&output[pos], maxLen - pos, "%u.2:%u.2", hour, minutes);
if (result < 0) return 0;
pos += result;
if (i < 7) {
Expand Down

0 comments on commit 7f9039b

Please sign in to comment.