Fix vertically mirrored points

Resolves #1125
This commit is contained in:
Raphael Coeffic
2022-01-04 14:21:07 +10:00
committed by Peter Feerick
parent 44cdb4497f
commit 10aab3dbef
+1 -1
View File
@@ -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;
}