mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_Linux: minlure: fix uart path
In some point in past it may have been ttyS2, but right now on kernel 4.16+ the UART is on ttyS5. We could do like is done for I2C and search on sysfs, but it requires additional changes.
This commit is contained in:
parent
b54b95de12
commit
b1b4b66e65
|
@ -152,7 +152,7 @@ static RCInput_ZYNQ rcinDriver;
|
|||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
|
||||
static RCInput_UDP rcinDriver;
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_MINLURE
|
||||
static RCInput_UART rcinDriver("/dev/ttyS2");
|
||||
static RCInput_UART rcinDriver("/dev/ttyS5");
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_QFLIGHT
|
||||
static RCInput_DSM rcinDriver;
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_DISCO
|
||||
|
|
Loading…
Reference in New Issue