Skip to content

Commit

Permalink
Fix vertically mirrored points
Browse files Browse the repository at this point in the history
Resolves #1125
  • Loading branch information
raphaelcoeffic authored and pfeerick committed Jan 4, 2022
1 parent 3ab603f commit 3ffcc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/curves.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ point_t getPoint(uint8_t index)
{
point_t result = getPoint(s_currIdxSubMenu, index);
result.x = CURVE_CENTER_X + divRoundClosest(result.x * CURVE_SIDE_WIDTH, RESX);
result.y = CURVE_CENTER_Y + divRoundClosest(result.y * CURVE_SIDE_WIDTH, RESX);
result.y = CURVE_CENTER_Y - divRoundClosest(result.y * CURVE_SIDE_WIDTH, RESX);
return result;
}

Expand Down

0 comments on commit 3ffcc4c

Please sign in to comment.