Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBE authored and segabor committed Mar 23, 2024
1 parent 0555427 commit 38ca040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Row.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ int Row_printPercentage(float val, char* buffer, size_t n, uint8_t width, int* a
assert(n >= 6 && width >= 4 && "Invalid width in Row_printPercentage()");
// truncate in favour of abort in xSnprintf()
width = (uint8_t)CLAMP(width, 4, n - 2);
assert(width < n - 1 && "Insuficient space to print column");
assert(width < n - 1 && "Insufficient space to print column");

if (isNonnegative(val)) {
if (val < 0.05F)
Expand Down

0 comments on commit 38ca040

Please sign in to comment.