chore(dsmp): separate DSMP and DSM2, cleanup code, add DSMP status display and Enable AETR option (#6932)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
@@ -31,7 +31,14 @@
|
||||
|
||||
#include "pulses/pxx2.h"
|
||||
#include "pulses/flysky.h"
|
||||
|
||||
#if defined(DSM2)
|
||||
#include "pulses/dsm2.h"
|
||||
#endif
|
||||
|
||||
#if defined(DSMP)
|
||||
#include "pulses/dsmp.h"
|
||||
#endif
|
||||
|
||||
#if defined(PPM)
|
||||
#include "pulses/ppm.h"
|
||||
@@ -228,6 +235,12 @@ void getModuleStatusString(uint8_t moduleIdx, char * statusText)
|
||||
afhds3::getStatusString(moduleIdx, statusText);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(DSMP)
|
||||
if (isModuleDSMP(moduleIdx)) {
|
||||
getDSMPStatus(moduleIdx).getStatusString(statusText);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void getModuleSyncStatusString(uint8_t moduleIdx, char * statusText)
|
||||
|
||||
Reference in New Issue
Block a user