refactor: IWDG driver and EM trigger (#3846)
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "io/multi_protolist.h"
|
||||
#include "telemetry/multi.h"
|
||||
#include "mixer_scheduler.h"
|
||||
#include "hal/abnormal_reboot.h"
|
||||
|
||||
// for the MULTI protocol definition
|
||||
// see https://github.com/pascallanger/DIY-Multiprotocol-TX-Module
|
||||
@@ -240,8 +241,10 @@ static void* multiInit(uint8_t module)
|
||||
getMultiModuleStatus(module).flags = 0;
|
||||
|
||||
#if defined(MULTI_PROTOLIST)
|
||||
TRACE("enablePulsesInternalModule(): trigger scan");
|
||||
MultiRfProtocols::instance(module)->triggerScan();
|
||||
if (!UNEXPECTED_SHUTDOWN()) {
|
||||
TRACE("enablePulsesInternalModule(): trigger scan");
|
||||
MultiRfProtocols::instance(module)->triggerScan();
|
||||
}
|
||||
#endif
|
||||
|
||||
return mod_st;
|
||||
|
||||
Reference in New Issue
Block a user