Commit e47b8bd1 authored by Sven Greiner's avatar Sven Greiner
Browse files

Start with last level if mode memory in ramping mode

parent 2e363d26
......@@ -369,7 +369,15 @@ int main(void) {
case kDefault:
// This is a special state that does nothing but deciding which is the
// correct state for the current mode (ramping vs fixed)
state = options.fixed_mode ? kFixed : kRamping;
if (options.fixed_mode) {
state = kFixed;
} else {
if (options.mode_memory) {
state = kFrozen;
} else {
state = kRamping;
}
}
continue; // Skip main loop cycle and continue with correct mode
case kRamping:
......
Supports Markdown
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