Commit ac9d54a1 authored by Sven Greiner's avatar Sven Greiner

[WIP] If "start high" switch reversed in fixed

Don't go turbo->low->med->high but turbo->high->med->low. This changes
requires additional 16 bytes.

TODO: Find an implementation with <=4 bytes.

See #4
parent 619e2f67
......@@ -403,7 +403,10 @@ int main(void) {
break;
default:
output = (output % FIXED_SIZE) + 1;
output = (output % FIXED_SIZE) + (options.start_high ? -1 : 1);
if (!output) {
output = FIXED_SIZE;
}
state = kFixed;
save_output();
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment