diff --git a/src/CommandMessenger.cpp b/src/CommandMessenger.cpp index 39100793..7847f158 100644 --- a/src/CommandMessenger.cpp +++ b/src/CommandMessenger.cpp @@ -30,6 +30,9 @@ #if MF_OUTPUT_SHIFTER_SUPPORT == 1 #include "OutputShifter.h" #endif +#if MF_DIGIN_MUX_SUPPORT == 1 +#include "DigInMux.h" +#endif CmdMessenger cmdMessenger = CmdMessenger(Serial); unsigned long lastCommand; @@ -107,6 +110,9 @@ void OnTrigger() #if MF_INPUT_SHIFTER_SUPPORT == 1 InputShifter::OnTrigger(); #endif +#if MF_DIGIN_MUX_SUPPORT == 1 + DigInMux::OnTrigger(); +#endif } // commandmessenger.cpp diff --git a/src/MF_DigInMux/DigInMux.h b/src/MF_DigInMux/DigInMux.h index d467c3b7..8727f875 100644 --- a/src/MF_DigInMux/DigInMux.h +++ b/src/MF_DigInMux/DigInMux.h @@ -13,7 +13,7 @@ namespace DigInMux void Add(uint8_t dataPin, uint8_t nRegs, char const *name = "DigInMux", bool mode = MFDigInMux::MUX_MODE_FAST); void Clear(); void read(); - // void OnTrigger(); + void OnTrigger(); } // DigInMux.h \ No newline at end of file