Remove PPM_PIN_SERIAL

This commit is contained in:
Raphael Coeffic
2022-01-29 14:40:17 +10:00
committed by Peter Feerick
parent 09c49e24ee
commit f9830e1405
4 changed files with 0 additions and 81 deletions
-15
View File
@@ -108,16 +108,6 @@ template<class T> struct PpmPulsesData {
T * ptr;
};
#if defined(PPM_PIN_SERIAL)
PACK(struct Dsm2SerialPulsesData {
uint8_t pulses[64];
uint8_t * ptr;
uint8_t serialByte ;
uint8_t serialBitCount;
uint16_t _alignment;
});
typedef Dsm2SerialPulsesData Dsm2PulsesData;
#else
#define MAX_PULSES_TRANSITIONS 300
PACK(struct Dsm2TimerPulsesData {
pulse_duration_t pulses[MAX_PULSES_TRANSITIONS];
@@ -125,7 +115,6 @@ PACK(struct Dsm2TimerPulsesData {
uint8_t index;
});
typedef Dsm2TimerPulsesData Dsm2PulsesData;
#endif
#define PPM_DEF_PERIOD 225 /* 22.5ms */
#define PPM_STEP_SIZE 5 /*0.5ms*/
@@ -191,12 +180,8 @@ union ExternalModulePulsesData {
#if defined(HARDWARE_EXTERNAL_MODULE_SIZE_SML)
UartPxx1Pulses pxx_uart;
#endif
#if defined(PPM_PIN_SERIAL)
SerialPxx1Pulses pxx;
#else
PwmPxx1Pulses pxx;
#endif
#endif
#if defined(PXX2)
Pxx2Pulses pxx2;