refactor: IWDG driver and EM trigger (#3846)

This commit is contained in:
Raphael Coeffic
2023-12-04 07:14:25 +10:00
committed by GitHub
parent e18a2a90a4
commit 5153aaeea0
89 changed files with 1204 additions and 3202 deletions
+5 -2
View File
@@ -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;