feat: Prevent OFF for internal module in hardware settings (#2654)

* Prevent OFF for internal module in hardware settings

* chore: Change "Mode" to "Type"
This commit is contained in:
Raphael Coeffic
2022-10-31 13:39:42 +10:00
committed by GitHub
parent b61e2d8dda
commit 93ec316a4b
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -737,7 +737,6 @@ bool areModulesConflicting(int intModuleType, int extModuleType)
bool isInternalModuleSupported(int moduleType)
{
switch(moduleType) {
case MODULE_TYPE_NONE: return true;
#if defined(INTERNAL_MODULE_MULTI)
case MODULE_TYPE_MULTIMODULE: return true;
#endif