mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #1122 from mikeller/fix_ledstrip_w_indicator
Fixed broken LEDSTRIP 'west' indicator.
This commit is contained in:
commit
3e60d25805
1 changed files with 2 additions and 2 deletions
|
@ -257,9 +257,9 @@ STATIC_UNIT_TESTED void determineLedStripDimensions(void)
|
||||||
|
|
||||||
STATIC_UNIT_TESTED void determineOrientationLimits(void)
|
STATIC_UNIT_TESTED void determineOrientationLimits(void)
|
||||||
{
|
{
|
||||||
highestYValueForNorth = MIN((ledGridHeight / 2) - 1, 0);
|
highestYValueForNorth = MAX((ledGridHeight / 2) - 1, 0);
|
||||||
lowestYValueForSouth = (ledGridHeight + 1) / 2;
|
lowestYValueForSouth = (ledGridHeight + 1) / 2;
|
||||||
highestXValueForWest = MIN((ledGridWidth / 2) - 1, 0);
|
highestXValueForWest = MAX((ledGridWidth / 2) - 1, 0);
|
||||||
lowestXValueForEast = (ledGridWidth + 1) / 2;
|
lowestXValueForEast = (ledGridWidth + 1) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue