Fixed broken LEDSTRIP 'west' indicator.

This commit is contained in:
mikeller 2016-09-06 22:44:19 +12:00
parent d0ceb1167a
commit 2baa1e1d39
1 changed files with 2 additions and 2 deletions

View File

@ -257,9 +257,9 @@ STATIC_UNIT_TESTED void determineLedStripDimensions(void)
STATIC_UNIT_TESTED void determineOrientationLimits(void)
{
highestYValueForNorth = MIN((ledGridHeight / 2) - 1, 0);
highestYValueForNorth = MAX((ledGridHeight / 2) - 1, 0);
lowestYValueForSouth = (ledGridHeight + 1) / 2;
highestXValueForWest = MIN((ledGridWidth / 2) - 1, 0);
highestXValueForWest = MAX((ledGridWidth / 2) - 1, 0);
lowestXValueForEast = (ledGridWidth + 1) / 2;
}