Skip to content

the 10kHz digit is skipped when pushing the encoder button short or long push #8

Description

@mennamorato

When changing stepwise, the 10 Khz digit is skipped in both directions.
Simple fix in the code but I cannot do a pull request at this time...need a little guidance but here it is:
void stepsize_change(int8_t val)
{
stepsize += val;
if(stepsize < STEP_1M) stepsize = STEP_10;
if(stepsize > STEP_10) stepsize = STEP_1M;
//if(stepsize == STEP_10k || stepsize == STEP_500k) stepsize += val; <----problem line
if(stepsize == STEP_500k) stepsize += val;
stepsize_showcursor();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions