Multiprotocol working on sky9x and co (#4409)
* MULTI working on sky9x * Fix crash with module OFF * Cosmetics * Compilation fix / cosmetics * Typo.... * Multi now available on all ARM platforms * Does this help? * Compilation fix
This commit is contained in:
@@ -55,7 +55,7 @@ void disable_pxx(uint32_t port)
|
||||
extmoduleStop();
|
||||
}
|
||||
|
||||
#if defined(DSM2) || defined(MULTIMODULE)
|
||||
#if defined(DSM2)
|
||||
void init_dsm2(uint32_t port)
|
||||
{
|
||||
if (port == EXTERNAL_MODULE) {
|
||||
@@ -71,6 +71,19 @@ void disable_dsm2(uint32_t port)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(MULTIMODULE)
|
||||
void init_multimodule(uint32_t port)
|
||||
{
|
||||
init_dsm2(port);
|
||||
}
|
||||
|
||||
void disable_multimodule(uint32_t port)
|
||||
{
|
||||
disable_dsm2(port);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void init_ppm(uint32_t port)
|
||||
{
|
||||
if (port == EXTERNAL_MODULE) {
|
||||
|
||||
Reference in New Issue
Block a user