Compilation fix
This commit is contained in:
@@ -239,7 +239,7 @@ void enablePulses(uint8_t module, uint8_t protocol)
|
|||||||
void setupPulsesInternalModule(uint8_t protocol)
|
void setupPulsesInternalModule(uint8_t protocol)
|
||||||
{
|
{
|
||||||
switch (protocol) {
|
switch (protocol) {
|
||||||
#if defined(PXX1) && !defined(INTMODULE_USART)
|
#if defined(HARDWARE_INTERNAL_MODULE) && defined(PXX1) && !defined(INTMODULE_USART)
|
||||||
case PROTOCOL_CHANNELS_PXX1_PULSES:
|
case PROTOCOL_CHANNELS_PXX1_PULSES:
|
||||||
intmodulePulsesData.pxx.setupFrame(INTERNAL_MODULE);
|
intmodulePulsesData.pxx.setupFrame(INTERNAL_MODULE);
|
||||||
scheduleNextMixerCalculation(INTERNAL_MODULE, INTMODULE_PXX_PERIOD);
|
scheduleNextMixerCalculation(INTERNAL_MODULE, INTMODULE_PXX_PERIOD);
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ void init_no_pulses(uint32_t port);
|
|||||||
void disable_no_pulses(uint32_t port);
|
void disable_no_pulses(uint32_t port);
|
||||||
void init_ppm(uint32_t port);
|
void init_ppm(uint32_t port);
|
||||||
void disable_ppm(uint32_t port);
|
void disable_ppm(uint32_t port);
|
||||||
void init_pxx(uint32_t port);
|
void init_pxx1_pulses(uint32_t port);
|
||||||
void disable_pxx1_pulses(uint32_t port);
|
void disable_pxx1_pulses(uint32_t port);
|
||||||
void init_serial(uint32_t port, uint32_t baudrate, uint32_t period_half_us);
|
void init_serial(uint32_t port, uint32_t baudrate, uint32_t period_half_us);
|
||||||
void disable_serial(uint32_t port);
|
void disable_serial(uint32_t port);
|
||||||
|
|||||||
@@ -214,7 +214,7 @@ void disable_ssc()
|
|||||||
sscptr->SSC_CR = SSC_CR_TXDIS;
|
sscptr->SSC_CR = SSC_CR_TXDIS;
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_pxx(uint32_t port)
|
void init_pxx1_pulses(uint32_t port)
|
||||||
{
|
{
|
||||||
if (port == EXTERNAL_MODULE) {
|
if (port == EXTERNAL_MODULE) {
|
||||||
init_main_ppm(2500 * 2, 0);
|
init_main_ppm(2500 * 2, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user