Cosmetics

This commit is contained in:
Bertrand Songis
2019-12-16 14:22:23 +01:00
parent 44b2281ab5
commit 48b50167b2
2 changed files with 13 additions and 6 deletions
+10
View File
@@ -213,6 +213,16 @@ PACK(struct ModuleState {
extern ModuleState moduleState[NUM_MODULES];
inline bool isModuleBeeping(uint8_t moduleIndex)
{
#if defined(MULTIMODULE)
if (getMultiModuleStatus(moduleIndex).isBinding())
return true;
#endif
return moduleState[moduleIndex].mode >= MODULE_MODE_BEEP_FIRST;
}
template<class T> struct PpmPulsesData {
T pulses[20];
T * ptr;