Fix the crazy bind bug. Underlying issue still remains however

This commit is contained in:
3djc
2019-12-16 16:57:47 +01:00
parent f119f1f50e
commit fdca39c2a5
2 changed files with 14 additions and 4 deletions
+4
View File
@@ -216,6 +216,10 @@ extern ModuleState moduleState[NUM_MODULES];
inline bool isModuleBeeping(uint8_t moduleIndex)
{
#if defined(MULTIMODULE)
#if !defined(INTERNAL_MODULE_MULTI)
if (moduleIndex == INTERNAL_MODULE)
return false;
#endif
if (getMultiModuleStatus(moduleIndex).isBinding())
return true;
#endif