Skip to content

Commit

Permalink
makeDetailsMask() blanksAtEnd (mod 8)(q21b)
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Feb 15, 2024
1 parent 234f9bc commit 7279733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Meter.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ static uint16_t GraphMeterMode_makeDetailsMask(const GraphColorComputeState* pre
}
unsigned int dotPosition = (unsigned int)(int) ceil(distance) + (unsigned int)(int)numDots / 2;
if (dotPosition < 8) {
blanksAtEnd = (uint8_t)(8 - dotPosition);
blanksAtEnd = (uint8_t)(8 - dotPosition) % 8;
} else {
blanksAtEnd = 0;
}
Expand Down

0 comments on commit 7279733

Please sign in to comment.