Fix 6853 (#7643)
This commit is contained in:
@@ -125,6 +125,9 @@ void menuModelCurveOne(event_t event)
|
||||
lcdDrawNumber(INDENT_WIDTH, 6*FH+1, 5+crv.points, LEFT|attr);
|
||||
lcdDrawText(lcdLastRightPos, 6*FH+1, STR_PTS, attr);
|
||||
if (attr) {
|
||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||
rotencSpeed = ROTENC_LOWSPEED;
|
||||
#endif
|
||||
int8_t count = checkIncDecModel(event, crv.points, -3, 12); // 2pts - 17pts
|
||||
if (checkIncDec_Ret) {
|
||||
int8_t newPoints[MAX_POINTS_PER_CURVE];
|
||||
|
||||
@@ -131,6 +131,9 @@ void menuModelCurveOne(event_t event)
|
||||
lcdDrawNumber(INDENT_WIDTH, 6*FH+1, 5+crv.points, LEFT|attr);
|
||||
lcdDrawText(lcdLastRightPos, 6*FH+1, STR_PTS, attr);
|
||||
if (attr) {
|
||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||
rotencSpeed = ROTENC_LOWSPEED;
|
||||
#endif
|
||||
int8_t count = checkIncDecModel(event, crv.points, -3, 12); // 2pts - 17pts
|
||||
if (checkIncDec_Ret) {
|
||||
int8_t newPoints[MAX_POINTS_PER_CURVE];
|
||||
|
||||
@@ -155,6 +155,9 @@ bool menuModelCurveOne(event_t event)
|
||||
lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP + FH, STR_COUNT);
|
||||
lcdDrawNumber(MODEL_CURVE_ONE_2ND_COLUMN, MENU_CONTENT_TOP + FH, 5+crv.points, LEFT|attr, 0, NULL, STR_PTS);
|
||||
if (attr) {
|
||||
#if defined(ROTARY_ENCODER_NAVIGATION)
|
||||
rotencSpeed = ROTENC_LOWSPEED;
|
||||
#endif
|
||||
int count = checkIncDecModel(event, crv.points, -3, 12); // 2pts - 17pts
|
||||
if (checkIncDec_Ret) {
|
||||
int newPoints[MAX_POINTS_PER_CURVE];
|
||||
|
||||
Reference in New Issue
Block a user