Skip to content

Commit

Permalink
makeDetailsMask() blanksAtEnd (q21k)
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Feb 18, 2024
1 parent 4efb1b5 commit 676f152
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 @@ -534,7 +534,7 @@ static uint16_t GraphMeterMode_makeDetailsMask(const GraphColorComputeState* pre

distance = ceil(distance);
unsigned int maxBlanks2 = 8 - (unsigned int)(int)numDots / 2;
int temp1 = MAXIMUM((int)maxBlanks2, (int)distance);
unsigned int temp1 = MAXIMUM((unsigned int)maxBlanks2, (unsigned int)(int)distance);
blanksAtEnd = (uint8_t)((unsigned int)temp1 - (unsigned int)(int)distance);
}
assert(blanksAtEnd < 8);
Expand Down

0 comments on commit 676f152

Please sign in to comment.