Merge issues

This commit is contained in:
Bertrand Songis
2021-01-12 17:47:02 +01:00
parent 672e6edc81
commit f36d597e81
3 changed files with 11 additions and 11 deletions
+5 -8
View File
@@ -31,15 +31,12 @@
void drawCurve(coord_t offset)
{
drawFunction(applyCurrentCurve, offset);
uint8_t i = 0;
do {
CurveHeader & crv = g_model.curves[s_currIdxSubMenu];
for (uint8_t i = 0; i < crv.points + 5; i++) {
point_t point = getPoint(i);
i++;
if (point.x == 0)
break;
lcdDrawFilledRect(point.x - offset, point.y - 1, 3, 3, SOLID, FORCE); // do markup square
} while (true);
lcdDrawFilledRect(point.x - 1 - offset, point.y - 1, 3, 3, SOLID, FORCE); // do markup square
}
}
void menuModelCurvesAll(event_t event)