Added RX options (PWM/PPM, iBUS/SBUS)

This commit is contained in:
Raphael Coeffic
2021-09-19 16:17:47 +02:00
parent 7e3b06bffd
commit e0a8b3d8c3
7 changed files with 71 additions and 12 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ enum FlySkyModuleState_E {
STATE_SEND_CHANNELS = 19,
};
#define AfhdsPwmMode (gRomData.mode < 2 ? FLYSKY_PWM : FLYSKY_PPM)
#define AfhdsPwmMode (gRomData.mode & 2 ? FLYSKY_PPM : FLYSKY_PWM)
#define AfhdsIbusMode (gRomData.mode & 1 ? FLYSKY_SBUS : FLYSKY_IBUS)
struct rf_info_t {