Fixes for X7
This commit is contained in:
@@ -94,7 +94,7 @@ extern "C" void INTMODULE_USART_IRQHandler(void)
|
||||
}
|
||||
}
|
||||
|
||||
void intmoduleSendNextFrame()
|
||||
void intmoduleSendNextPXX2Frame()
|
||||
{
|
||||
if (moduleSettings[INTERNAL_MODULE].protocol == PROTOCOL_CHANNELS_PXX2) {
|
||||
DMA_InitTypeDef DMA_InitStructure;
|
||||
|
||||
@@ -116,6 +116,7 @@ elseif(PCB STREQUAL XLITES)
|
||||
set(FONTS_TARGET 9x_fonts_1bit)
|
||||
set(LCD_DRIVER lcd_driver_spi.cpp)
|
||||
set(GVAR_SCREEN model_gvars.cpp)
|
||||
set(RADIO_SPECTRUM YES)
|
||||
endif()
|
||||
|
||||
if(PCB STREQUAL XLITE OR PCB STREQUAL XLITES)
|
||||
@@ -168,14 +169,15 @@ endif()
|
||||
add_definitions(-DPCBTARANIS)
|
||||
add_definitions(-DAUDIO -DVOICE -DRTCLOCK)
|
||||
|
||||
set(GUI_SRC ${GUI_SRC}
|
||||
set(GUI_SRC
|
||||
${GUI_SRC}
|
||||
model_input_edit.cpp
|
||||
model_mix_edit.cpp
|
||||
model_display.cpp
|
||||
radio_diagkeys.cpp
|
||||
radio_diaganas.cpp
|
||||
radio_hardware.cpp
|
||||
radio_spectrum.cpp
|
||||
|
||||
view_channels.cpp
|
||||
view_telemetry.cpp
|
||||
view_about.cpp
|
||||
@@ -183,6 +185,14 @@ set(GUI_SRC ${GUI_SRC}
|
||||
../screenshot.cpp
|
||||
)
|
||||
|
||||
if(RADIO_SPECTRUM)
|
||||
add_definitions(-DRADIO_SPECTRUM)
|
||||
set(GUI_SRC
|
||||
${GUI_SRC}
|
||||
radio_spectrum.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if(PCB STREQUAL X7 OR PCB STREQUAL XLITE OR PCB STREQUAL XLITES)
|
||||
set(LED_DRIVER led_driver.cpp)
|
||||
endif()
|
||||
|
||||
@@ -184,7 +184,7 @@ void init_no_pulses(uint8_t module);
|
||||
void disable_no_pulses(uint8_t module);
|
||||
void init_ppm(uint8_t module);
|
||||
void disable_ppm(uint8_t module);
|
||||
void intmoduleSendNextFrame();
|
||||
void intmoduleSendNextPXX2Frame();
|
||||
void init_pxx2(uint8_t module);
|
||||
void disable_pxx2(uint8_t module);
|
||||
void init_pxx(uint8_t module);
|
||||
|
||||
@@ -92,6 +92,16 @@ void intmoduleSendNextFrame()
|
||||
}
|
||||
}
|
||||
|
||||
void intmodulePxx2Start()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void intmoduleSendNextPXX2Frame()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
void intmodulePxxStart()
|
||||
{
|
||||
INTERNAL_MODULE_ON();
|
||||
|
||||
Reference in New Issue
Block a user