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:
parent
31628ea52f
commit
9a22e11b92
libraries/AP_HAL
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user