5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-08 08:58:29 -04:00

AP_HAL: HAL_RCINPUT_WITH_AP_RADIO definition

Remove moved skyviper-v2450-px4 definitions

Co-authored-by: Francisco Ferreira <OXINARF@users.noreply.github.com>
This commit is contained in:
Eugene Shamaev 2018-03-11 16:47:40 +02:00 committed by Randy Mackay
parent 31628ea52f
commit 9a22e11b92
2 changed files with 4 additions and 9 deletions
libraries/AP_HAL

View File

@ -207,6 +207,10 @@
#define HAL_WITH_UAVCAN 0
#endif
#ifndef HAL_RCINPUT_WITH_AP_RADIO
#define HAL_RCINPUT_WITH_AP_RADIO 0
#endif
#ifndef HAL_WITH_IO_MCU
#define HAL_WITH_IO_MCU 0
#endif

View File

@ -106,15 +106,6 @@
#define HAL_PX4_HAVE_PWM_INPUT 0
#endif
/* AP_Radio configuration */
#ifdef HAL_RCINPUT_WITH_AP_RADIO
// this is the SPI bus for cypress on the skyviper-v2450
# define CYRF_SPI_PX4_SPI_BUS 2
# define CYRF_SPI_PX4_SPIDEV_EXT (spi_dev_e)1
# define CYRF_IRQ_INPUT (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI|GPIO_PORTD|GPIO_PIN15)
#endif // HAL_RCINPUT_WITH_AP_RADIO
/* default values */
#ifndef HAL_SERIAL0_BAUD_DEFAULT
#define HAL_SERIAL0_BAUD_DEFAULT 115200