[X10 Express] Fixes
- Introduction of -DPCBREV=EXPRESS - X10 Express external pulses all good Caution: need to check if no regression on X10 STD
This commit is contained in:
@@ -61,7 +61,8 @@ uint8_t getRequiredProtocol(uint8_t module)
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
// no break
|
||||
protocol = PROTOCOL_CHANNELS_PXX1_PULSES;
|
||||
break;
|
||||
|
||||
case MODULE_TYPE_R9M_PXX1:
|
||||
protocol = PROTOCOL_CHANNELS_PXX1_PULSES;
|
||||
@@ -216,7 +217,7 @@ void setupPulsesExternalModule(uint8_t protocol)
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if defined(PXX1) && defined(EXTMODULE_USART)
|
||||
#if defined(PXX1) && defined(HARDWARE_EXTERNAL_MODULE_SIZE_SML)
|
||||
case PROTOCOL_CHANNELS_PXX1_SERIAL:
|
||||
extmodulePulsesData.pxx_uart.setupFrame(EXTERNAL_MODULE);
|
||||
scheduleNextMixerCalculation(EXTERNAL_MODULE, EXTMODULE_PXX1_SERIAL_PERIOD);
|
||||
|
||||
@@ -281,7 +281,7 @@ union InternalModulePulsesData {
|
||||
|
||||
union ExternalModulePulsesData {
|
||||
#if defined(PXX1)
|
||||
#if defined(EXTMODULE_USART)
|
||||
#if defined(HARDWARE_EXTERNAL_MODULE_SIZE_SML)
|
||||
UartPxx1Pulses pxx_uart;
|
||||
#endif
|
||||
#if defined(PPM_PIN_SERIAL)
|
||||
|
||||
@@ -23,14 +23,14 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#if defined(PCBX12S) && PCBREV < 13
|
||||
#define pulse_duration_t uint32_t
|
||||
#define trainer_pulse_duration_t uint16_t
|
||||
#if defined(EXTMODULE_TIMER_32BITS)
|
||||
typedef uint32_t pulse_duration_t;
|
||||
#else
|
||||
#define pulse_duration_t uint16_t
|
||||
#define trainer_pulse_duration_t uint16_t
|
||||
typedef uint16_t pulse_duration_t;
|
||||
#endif
|
||||
|
||||
typedef uint16_t trainer_pulse_duration_t;
|
||||
|
||||
template <class T, int SIZE>
|
||||
class DataBuffer {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user