From 2413bf4210d2827a404e655c5a88f6ab824f5bec Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Aug 2017 14:00:24 +0200 Subject: [PATCH] Fix for maling clear that DEXED_ENGINE_MODERN is the chosen engine if tp is out of range. --- src/dexed.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dexed.cpp b/src/dexed.cpp index 2d82e53..7eabe23 100644 --- a/src/dexed.cpp +++ b/src/dexed.cpp @@ -816,6 +816,7 @@ void Dexed::setEngineType(uint8_t tp) { default: TRACE("DEXED_ENGINE_MODERN:%d",DEXED_ENGINE_MODERN); controllers.core = engineMsfa; + tp=DEXED_ENGINE_MODERN; break; } engineType = tp;