Fix for maling clear that DEXED_ENGINE_MODERN is the chosen engine if tp

is out of range.
pull/2/head
root 7 years ago
parent c19776380c
commit 2413bf4210
  1. 1
      src/dexed.cpp

@ -816,6 +816,7 @@ void Dexed::setEngineType(uint8_t tp) {
default: default:
TRACE("DEXED_ENGINE_MODERN:%d",DEXED_ENGINE_MODERN); TRACE("DEXED_ENGINE_MODERN:%d",DEXED_ENGINE_MODERN);
controllers.core = engineMsfa; controllers.core = engineMsfa;
tp=DEXED_ENGINE_MODERN;
break; break;
} }
engineType = tp; engineType = tp;

Loading…
Cancel
Save